TextAreaOverlayElement alignment is reversed?

Minor issues with the Ogre API that can be trivial to fix
bstone
OGRE Expert User
OGRE Expert User
Posts: 1920
Joined: Sun Feb 19, 2012 9:24 pm
Location: Russia
x 201

TextAreaOverlayElement alignment is reversed?

Post by bstone »

Am I dreaming or it's what it is? It looks like TextAreaOverlayElement::Right aligns text to the left side and vice versa. Pretty confusing :D
bstone
OGRE Expert User
OGRE Expert User
Posts: 1920
Joined: Sun Feb 19, 2012 9:24 pm
Location: Russia
x 201

Re: TextAreaOverlayElement alignment is reversed?

Post by bstone »

Actually, I see what is going on. It doesn't align the text itself. It just considers that Right makes the position of the element refer to the rightmost part of the text. Well.. quite counter intuitive, but doesn't qualify as a papercut obviously.