Difference between revisions of "Container"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | [[ | + | {{UI Object Header}} |
+ | This object is used to group other objects together. All the contained objects' positions are relative to the container's top left corner. Containers can be nested. | ||
+ | |||
+ | == Parameters == | ||
+ | *'''id''': the object's ID, used by UISets | ||
+ | *'''position''': the object's position. Use the pixels or rows and columns coordinates format | ||
+ | *'''visibility''': optional. Set to "hidden" to make the container invisible when the page is loaded | ||
+ | |||
+ | == Syntax == | ||
+ | (container[!<id>] <pos>; [<visibility>]) | ||
+ | ... | ||
+ | (endofcontainer) | ||
+ | E.g. | ||
+ | (container!mycontainer x0y0) | ||
+ | ... | ||
+ | (endofcontainer) | ||
+ | |||
+ | (container!mycontainer x0y0; hidden) | ||
+ | ... | ||
+ | (endofcontainer) | ||
+ | |||
+ | == UI Attributes == | ||
+ | {{:UI Object Attributes (Common)}} |
Revision as of 10:48, 17 January 2014
This object is used to group other objects together. All the contained objects' positions are relative to the container's top left corner. Containers can be nested.
Parameters
- id: the object's ID, used by UISets
- position: the object's position. Use the pixels or rows and columns coordinates format
- visibility: optional. Set to "hidden" to make the container invisible when the page is loaded
Syntax
(container[!<id>] <pos>; [<visibility>]) ... (endofcontainer)
E.g.
(container!mycontainer x0y0) ... (endofcontainer)
(container!mycontainer x0y0; hidden) ... (endofcontainer)