Difference between revisions of "Property Element"

684 bytes added ,  20:32, 8 April 2010
imported>JRoush
imported>JRoush
Line 81: Line 81:
           Hello World
           Hello World
*'''Wrapwidth''' (Numeric) the maximum width, in pixels, of the element.  If the text is long enough to extend past this width, it is split into multiple lines.  This is the only way to control the size of a text element - the width and height properties set by the game engine to whatever the final dimensions of the element end up being.
*'''Wrapwidth''' (Numeric) the maximum width, in pixels, of the element.  If the text is long enough to extend past this width, it is split into multiple lines.  This is the only way to control the size of a text element - the width and height properties set by the game engine to whatever the final dimensions of the element end up being.
*'''IsHTML''' (Numeric: Boolean) If true, the String property is [[Book Formatting|parsed as HTML]] before being displayed.  Check the link for details on what HTML tags will be recognized.  Remember that in Oblivion, HTML must ''start'' with a tag of some kind.  ''Note'': This only works if the String property is set by script or the game engine, as HTML-formatted text written directly in the *.xml file is not handled correctly.
*'''PageNum''' (Numeric) In Oblivion, html-formatted text may be broken into pages using the <hr> tag.  This property specifies which 'page' of text is actually displayed, with zero meaning the first page, 1 meaning the second page, and so on.


== Menu ==
== Menu ==
Anonymous user