Difference between revisions of "Property Element"

13 bytes removed ,  20:46, 8 April 2010
m
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.
*'''IsHTML''' (Numeric) If value is greater than zero, the String Property is [[Book Formatting|parsed as HTML]] before being displayed.  ''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.
*'''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.
*'''PageCount''' (Numeric) Set automatically by the engine to the number of HTML 'pages' in the String Property.


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