Difference between revisions of "Property Element"
→Sizeable
imported>JRoush |
imported>JRoush |
||
Line 15: | Line 15: | ||
== Sizeable == | == Sizeable == | ||
Properties defining the size and screen position of a menu element, and possibly its children. | Properties defining the size and screen position of a menu element, and possibly its children. | ||
*X,Y | *'''X,Y''' (Numeric) The coordinates (in pixels) of the upper-left hand corner of an element. These coordinates can be absolute or relative to the position of the parent element (see Locus). For text elements, this marks the "root" position (see Justify). | ||
*Height, Width | *'''Height, Width''' (Numeric) The height and width (in pixels) of the element. For text elements, the width and height are set by the game engine automatically depending on the font and text contents. | ||
*Locus | *'''Locus''' (Numeric: Boolean) If true then the elements coordinates are taken as relative to the position of its parent. If false, then the elements coordinates are taken as absolute, from the upper-left hand corner of the screen. | ||
== Rendered == | == Rendered == |