Hi all!
Is there a way to obtain the real runtime width of a label? I can't get it reading the width property cause it is set to -2 (autosize).
I'd like to know the real width after setting the text property. Is it possible?
Otherwise it would be enough to find a way to calculate the size in pixel of a given string with a given typeface and textsize.
Thanks in advance.
Is there a way to obtain the real runtime width of a label? I can't get it reading the width property cause it is set to -2 (autosize).
I'd like to know the real width after setting the text property. Is it possible?
Otherwise it would be enough to find a way to calculate the size in pixel of a given string with a given typeface and textsize.
Thanks in advance.