setVerticalAlignment, horizontal does not apply to Label

magistr

15-07-2007 13:37:39

Label does not react on setVerticalAlignment, setHorizontalAlignment functions.

I am create in QuickGUILabel.cpp following override functions:
void Label::setVerticalAlignment( VerticalAlignment va )
{
Widget::setVerticalAlignment(va);
alignText(mHorizontalAlignment,mVerticalAlignment);
}

void Label::setHorizontalAlignment( HorizontalAlignment ha )
{
Widget::setHorizontalAlignment(ha);
alignText(mHorizontalAlignment,mVerticalAlignment);
}

It is correct?