User Tools

Site Tools


built_in:buttons

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
built_in:buttons [2018/04/19 14:54]
78.209.123.22 [Table]
built_in:buttons [2018/07/20 21:33]
90.216.254.199 [Example - Default Size]
Line 47: Line 47:
 ===== Options ===== ===== Options =====
  
-NoPad        Removes default padding of custom buttons            ^+Options      Description                                          ^
 | Alum         | Display the Button in aluminum style                 | | Alum         | Display the Button in aluminum style                 |
 | FillX        | Fill the layout width                                | | FillX        | Fill the layout width                                |
Line 53: Line 53:
 | NoSound      | Play no sound, if the button will be touched         | | NoSound      | Play no sound, if the button will be touched         |
 | Custom       | [[sample_code:button_styles|Custom Buttons sample]]  | | Custom       | [[sample_code:button_styles|Custom Buttons sample]]  |
 +| NoPad        | Removes default padding of custom buttons            |
 | FontAwesome  | Use Font-Awesome icons                               | | FontAwesome  | Use Font-Awesome icons                               |
 | Html         | Enable HTML in button-text                           | | Html         | Enable HTML in button-text                           |
Line 66: Line 67:
   lay = app.CreateLayout( "Linear", "VCenter,FillXY" );   lay = app.CreateLayout( "Linear", "VCenter,FillXY" );
  
-  btn = app.CreateButton( "Press Me" );+  btn = app.CreateButton( "T-pose on those depressed normie niBBas" );
   btn.SetOnTouch( SayHello );   btn.SetOnTouch( SayHello );
   lay.AddChild( btn );   lay.AddChild( btn );
built_in/buttons.txt ยท Last modified: 2018/07/21 05:36 (external edit)