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 15:27]
78.209.123.22 Added NoPad option (correctly)
built_in:buttons [2018/07/20 21:33]
90.216.254.199 [Example - Default Size]
Line 48: Line 48:
  
 ^ Options      ^ Description                                          ^ ^ Options      ^ Description                                          ^
-| NoPad        | Removes default padding of custom buttons            | 
 | 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 68: 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)