Try setStyle("textAlign", "center")
ingenious. thanks dude!
would there be a way to get the location of the text ending? the label seems to take up the whole item renderer...
nevermind, found a quick solution. Thanks though, I've been trying to find an answer for this for a while...just happened to go about it the wrong way...
when it's centered, the end of the text can be found using:
(unscaledWidth/2) + (label.textWidth/2)
First one gets you to the middle, second one adds half the text
Thanks again for the quick solution!