Label Not Displayed Correctly Flash->iOS

FortySe7en

  • Posts: 304
Hello!
I have an issue with Label behavior.
Apparently, no matter what I do in terms of aligning and label height, I get different results on iOS and in Flash. Everything (text wise) is displayed higher in iOS than in Flash, it's roughtly the height of the text.
Is there any way to fix it other than do 'do only in flash' blocks to fix positioning manually?
Best Regards, 47

camaleonyco

  • Posts: 204
You have to use the "do only in flash" block. If you want them to appear in the same position you have to substract half of your label actor's width to the X coordinate, and half of its height to the Y coordinate. That works for me. I've attached an example.

FortySe7en

  • Posts: 304
Thanks for the answer!
For now I've made my label have a wonderful height of 1 pixel :). Works for single line of text.