Difference between revisions of "Container"
Jump to navigation
Jump to search
Line 21: | Line 21: | ||
== UI Attributes == | == UI Attributes == | ||
− | {{ | + | {{UI Object Attributes (Common)}} |
Latest revision as of 11:47, 11 July 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)
UI Attributes
Common attributes
Name | Value | Description |
---|---|---|
pos | x<x>y<y> | Position specified as x/y coordinates. E.g. x-5y10 |
visible | true | Default. Show the object |
false | Hide the object | |
blink | true | slow | Blink the object at a slow speed |
fast | Blink the object at a fast speed | |
false | Stop the blinking | |
opacity | 0.0 ... 1.0 | Object opacity from 0 (not visible) to 1 (fully visible) |
rotation | 0 ... 360 | Object rotation in degrees. Images are rotated around the center point, all other objects are rotated around the top left corner |