Poster: Glaumene at 4/22/2006 8:03:52 PM PDT Subject: slouken: EditBox display bug, JustifyH !=LEFT |
| |
If EditBox:SetJustifyH() is called with "CENTER" or "RIGHT", the cursor remains left-justified (moving as if the text appears to the left aswell) even though the text you write appears centered / right-justified.
An easy example:
/script ChatFrameEditBox:SetJustifyH("CENTER")
And the press enter and write something.
Another thing, which I'm unsure of. Should the EditBox inherit the JustifyH/JustifyV settings from an associated font object? If so, then there's a bug there aswell, since it currently doesn't.[ post edited by Glaumene ]
Maldivia, Sargeras
| | | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=365566&p=#post365566 | | | Poster: slouken at 4/24/2006 6:31:34 PM PDT Subject: Re: slouken: EditBox display bug, JustifyH !=LEFT |
| |
Q u o t e: If EditBox:SetJustifyH() is called with "CENTER" or "RIGHT", the cursor remains left-justified (moving as if the text appears to the left aswell) even though the text you write appears centered / right-justified.
An easy example:
/script ChatFrameEditBox:SetJustifyH("CENTER")
Thanks, this is fixed in 1.11
Q u o t e:
Another thing, which I'm unsure of. Should the EditBox inherit the JustifyH/JustifyV settings from an associated font object? If so, then there's a bug there aswell, since it currently doesn't.
Fonts default to center alignment, and editboxes override that to left alignment, so no, this is not a bug.
| | | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=365566&p=#post366763 |
View all recent official Blue Posts
|