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:19] 37.205.115.232 [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 168: | Line 168: | ||
The visibility of both layouts and child objects can be controlled using the **SetVisibility** function. Use the values **" | The visibility of both layouts and child objects can be controlled using the **SetVisibility** function. Use the values **" | ||
< | < | ||
- | ------- | ||
- | ----- | ||
- | --- | ||
---- | ---- | ||
Line 177: | Line 174: | ||
^ 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() |