button styles

0
0

Hello,

how could we set the difference apparence style of buttons that are visible in the theme builder?

Best regards,

Stéphane

  • You must to post comments
0
0

You can set the AppearanceKey on most controls to change which “branch” of the theme to use. The Button control is set to “button” by default. You can change it to “button-alert” or “button-ok”, or “button-info” or “button-cancel”. These are the built-in additional button appearances. However, you can add additional custom appearances. You could add, for example, “confirm-button” or “large-button” and decide what they should look like in a custom theme or  a theme mixin, then set the AppearanceKey to your new appearance name.

When using the ThemeBuilder, you can always see the actual key name in the status bar. Click on the Info button, for example, and the status bar will show “button-info” or “button-info/label” since the click most likely landed on the internal “label” widget. See screenshot below.

  • You must to post comments
0
0

Just perfect!

thanks a lot

Best regards

Stephane

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.