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 [2016/06/22 16:20]
71.251.122.126 [Table]
built_in:buttons [2018/07/20 21:33]
90.216.254.199 [Example - Default Size]
Line 47: Line 47:
 ===== Options ===== ===== Options =====
  
-Option   ^ Description                                          ^ +Options      ^ Description                                          ^ 
-| Alum     | Display the Button in aluminuim style                +| Alum         | Display the Button in aluminum style                 
-| FillX    | Fill the layout width                                | +| FillX        | Fill the layout width                                | 
-| Gray     | Display the Button in Gray Color                     | +| Gray         | Display the Button in Gray Color                     | 
-| 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]]  
-| Html     Text with HTML formatting                            |+| NoPad        | Removes default padding of custom buttons            | 
 +| FontAwesome  | Use Font-Awesome icons                               
 +| Html         Enable HTML in button-text                           |
  
 ---- ----
Line 65: 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)