Positioning text

I need to position my text in coordinates 10,10, for example. How can I do that? Right now, every time I change my text it moves according the size of the new string. For example, I align “Alex” in the correct position but when I update it to “Christopher”, my alignment is gone. Any ideas?

mName = “Any string”
local myName = display.newText(mName, 0, 0, native.systemFontBold, 18)
myName:setTextColor(255,255,255) [import]uid: 4883 topic_id: 923 reply_id: 300923[/import]

I believe this is one of those “known issue” kind of things that to work around you setReferencePoint and you choose which reference point based on how you’re aligning your label.

I had to do something along those lines… in one case I gave up and just delete the label and recreate it, in another case I was able to get it to grow/shrink in the correct direction.

Here’s hoping this will be corrected in a future update! [import]uid: 5659 topic_id: 923 reply_id: 2193[/import]

The best way is to use UI.Labels. [import]uid: 5712 topic_id: 923 reply_id: 2197[/import]

I actually have the same problem with ui.newLabel. If I change the text, the position gets hosed. [import]uid: 5659 topic_id: 923 reply_id: 2198[/import]

For me it works acceptable put not perfect:

Photobucket [import]uid: 5712 topic_id: 923 reply_id: 2199[/import]

Can you send me some more details on the bug? sample code that showcases the problem? I will open a bug report against it.

Thanks

Carlos [import]uid: 24 topic_id: 923 reply_id: 2243[/import]