Wintermute Engine > Fixed

VAL_BOTTOM failed

(1/1)

mRax:
Hello! Vertical text alignment of the label in the window

--- Code: ---WINDOW
{
NAME="test_window"
X=0
Y=0
WIDTH=800
HEIGHT=600
VISIBLE=TRUE

STATIC
{
NAME="test_static"
FONT="fonts\outline_green.font"
TEXT="THIS TEXT MUST BE AT THE BOTTOM!"
TEXT_ALIGN="center"
VERTICAL_ALIGN="bottom"
X=0
Y=0
WIDTH=800
HEIGHT=600
VISIBLE=TRUE

EDITOR_PROPERTY
{
NAME="Selected"
VALUE="True"
}
}
}
--- End code ---
will be VAL_CENTER for some reason. Not VAL_BOTTOM. Did I make a mistake somewhere? ???

Mnemonic:
It's a bug, apparently.

(For future reference, it's a typo in CUIText::Display (VAL_BOOL instead of VAL_BOTTOM).