ISUI

From Lavish Software Wiki
Revision as of 17:08, 26 May 2005 by Lax (talk | contribs)
Jump to navigation Jump to search

Overview

Custom Interfaces in XML

UI Element Base Type


Overview

All UI elements derive from a base type at the lowest level. What this means is all elements have the attributes defined below, in addition to any they add themselves. They may change the default values of any of the below attributes, but will not generally do so.

XML Attributes

Tag Description Default
X Leftmost coordinate for this element, relative to its parent element. This setting can be a percentage (of its parent's width), indicated with %. A percentage will cause the element to recalculate its position when its parent is resized. 0
Y Topmost coordinate for this element, relative to its parent element. This setting can be a percentage (of its parent's height), indicated with %. A percentage will cause the element to recalculate its position when its parent is resized. 0
Width Total width of this element. This setting can be a percentage (of its parent's width), indicated with %. A percentage will cause the element to recalculate its position when its parent is resized. 0
Height Total height of this element. This setting can be a percentage (of its parent's height), indicated with %. A percentage will cause the element to recalculate its position when its parent is resized. 0
Visible 1 if the element should be visible, 0 if not 1



Built-in UI Element Types

Sample Interface Files

Creating Element Types

See Also