Centerbutton is description

On 12/05/2016 at 07:26, xxxxxxxx wrote:

I have a ObjectData plugin and thus a description "dialog".
I am using a resouce file to define the description.

I like to center a button, but i do not know how to do this.

CONTAINER descriptionTest
    INCLUDE Obase;
           BUTTON OB_FIT {}	//How to center this button?

On 13/05/2016 at 02:35, xxxxxxxx wrote:


a parameter description is not a dialog. It is primarily just a list of parameters. It may be displayed in the Attribute Manager or in a different context. So the possibilities for layout the parameters are limited.

Parameters are organized in groups. So a parameter is typically not centered or placed directly. Instead the parent group or groups are defined. Some complex example can be found in the resource file of the cloth tag.

I tried to come up with some centered button but did not succeed. So I cannot really say if it is possible to archive this specific layout with the limited possibilities of the parameter description.

Best wishes,

On 13/05/2016 at 09:19, xxxxxxxx wrote:

Ok, thanks.
I understand and leave it as it is.