I am trying to left align the text on a bunch of buttons. I found the function setTextXOffset() but it doesn't seem to do squat.
Also when I call this function is it supposed to kill the centered alignment and make it left aligned with the offset or is the offset taken from the center?
Why doesn't it do anything?
Please let me know.
Code: Select all
((CEGUI::PushButton*)getWindow("facility_btn12"))->setsetTextXOffset(5.5);
Note that I shifted the text an extreme 5.5 and it has no effect. I am using windows look if it matters