UE2:GUILabel (UT2004)
![]() |
Object >> GUI >> GUIComponent >> GUILabel |
- Package:
- XInterface
- Direct subclass:
- GUISubtitleText
- This class in other games:
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
GUILabel - A text label that get's displayed. By default, it uses the default font, however you can override it if you wish.
By default, labels will never be focused, since bAcceptsInput is false for GUILabel. This means that GUILabel will never be put into the MSAT_Focused state (thus changing the color of the text to FocusedTextColor) unless the GUILabel is associated with a component that manually sets the label's state, such as a GUIMenuOption.
The easiest way to override this default behavior, if desired, is by setting StyleName to "TextLabel".
Written by Joe Wilcox Updated by Ron Prestenback (c) 2002 - 2003, Epic Games, Inc. All Rights Reserved
Properties
Property group 'GUILabel'
BackColor
Type: Object.Color
Background color for this label
Default value:
Member | Value |
---|---|
A | 255 |
B | 0 |
G | 0 |
R | 0 |
bMultiLine
Type: bool
Will cut content to display on multiple lines when too long
bTransparent
Type: bool
Draw a Background for this label
Default value: True
Caption
Type: string
Modifiers: localized
The text to display
FocusedTextColor
Type: Object.Color
The Color to display this in.
Default value:
Member | Value |
---|---|
A | 255 |
B | 80 |
G | 32 |
R | 32 |
HilightColor
Type: Object.Color
Shadow Color
Default value:
Member | Value |
---|---|
A | 196 |
B | 255 |
G | 255 |
R | 255 |
HilightOffsetX
Type: float
if > 0 draw shadow
HilightOffsetY
Type: float
if > 0 draw shadow
ShadowColor
Type: Object.Color
Shadow Color
Default value:
Member | Value |
---|---|
A | 196 |
B | 0 |
G | 0 |
R | 0 |
ShadowOffsetX
Type: float
if > 0 draw shadow
ShadowOffsetY
Type: float
if > 0 draw shadow
TextAlign
Type: GUI.eTextAlign
How is the text aligned in it's bounding box
TextColor
Type: Object.Color
The Color to display this in.
Default value:
Member | Value |
---|---|
A | 255 |
B | 64 |
G | 0 |
R | 0 |
TextFont
Type: string
The Font to display it in
Default value: "UT2MenuFont"
TextStyle
Type: GUI.EMenuRenderStyle
What canvas style to use
Default value: MSTY_Normal
VertAlign
Type: GUI.eTextAlign
Vertical alignment (only if bMultiLine) - Left = Top
Default values
Property | Value |
---|---|
RenderWeight | 0.4 |
WinHeight | 0.06 |