This shows you the differences between two versions of the page.
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 | ^ Options | ||
- | | 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( " | lay = app.CreateLayout( " | ||
- | 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 ); |