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:layouts [2016/12/24 11:21] 37.205.112.64 [Visibility] |
built_in:layouts [2018/07/21 20:19] 90.216.254.199 [Example - Vertical] |
||
---|---|---|---|
Line 35: | Line 35: | ||
lay.AddChild( btnB ); | lay.AddChild( btnB ); | ||
- | btnC = app.CreateButton( "C", 0.2, 0.1 ); | + | btnC = app.CreateButton( "mf yeet on those despacito depressed niBBas", 0.2, 0.1 ); |
lay.AddChild( btnC ); | lay.AddChild( btnC ); | ||
Line 165: | Line 165: | ||
< | < | ||
- | Jhuh | + | =====Visibility===== |
+ | The visibility of both layouts and child objects can be controlled using the **SetVisibility** function. Use the values **" | ||
+ | < | ||
+ | |||
+ | ---- | ||
===== Methods ===== | ===== Methods ===== | ||
^ Method | ^ Method | ||
| Layout.AddChild( child,order ) | child is the object to add to the Layout. Order is the rang option to make an object behind an other Object. | | Layout.AddChild( child,order ) | child is the object to add to the Layout. Order is the rang option to make an object behind an other Object. | ||
- | | Layout.Animate( type, | + | | Layout.Animate( type, callback, time ) | known types: SlideFromLeft,SlideFromRight,SlideFromTop,SlideFromBottom, |
| Layout.ChildToFront( child ) | | Layout.ChildToFront( child ) | ||
| Layout.Destroy() | | Layout.Destroy() |