Difference between revisions of "LavishGUI:text (Element Type)"
Jump to navigation
Jump to search
m |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 12: | Line 12: | ||
: Font reference (Name, Size, Height) | : Font reference (Name, Size, Height) | ||
*'''Text''' | *'''Text''' | ||
− | : Text (can include data sequences | + | : Text (can include data sequences) |
*'''VerticalAlignment''' | *'''VerticalAlignment''' | ||
: Vertical alignment. Can be "Top", "Center" or "Bottom" Top | : Vertical alignment. Can be "Top", "Center" or "Bottom" Top | ||
*'''Wrap''' | *'''Wrap''' | ||
− | : Multi-line text wrap? | + | : Multi-line text wrap? (usage: <Wrap />) |
+ | |||
== Examples == | == Examples == | ||
<Text name='TestText'> | <Text name='TestText'> | ||
Line 25: | Line 26: | ||
<Alignment>Right</Alignment> | <Alignment>Right</Alignment> | ||
<Text>${Me.Name}</Text> | <Text>${Me.Name}</Text> | ||
+ | <Wrap /> | ||
</Text> | </Text> | ||
== See Also == | == See Also == |
Latest revision as of 00:27, 8 July 2009
Contents
Introduction
What is a Text element?
A text element is an element just used for displaying text. lguitext (Data Type)
- LavishGUI is used for access via LavishScript.
Using Text elements
Text elements are descendants of the base element type. Any attributes of the base element type may be applied in addition to the text element-specific properties described below.
Text element-Specific Properties
- Alignment
- Horizontal alignment. Can be "Left", "Center" or "Right" Left
- Font
- Font reference (Name, Size, Height)
- Text
- Text (can include data sequences)
- VerticalAlignment
- Vertical alignment. Can be "Top", "Center" or "Bottom" Top
- Wrap
- Multi-line text wrap? (usage: <Wrap />)
Examples
<Text name='TestText'> <X>120</X> <Y>10</Y> <Width>100</Width> <Height>20</Height> <Alignment>Right</Alignment> <Text>${Me.Name}</Text> <Wrap /> </Text>