Difference between revisions of "Property Element"
Jump to navigation
Jump to search
m
→Text
imported>JRoush (→Text) |
imported>JRoush m (→Text) |
||
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 | *'''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 == |