problems occurring with text object placement after purchasing Corona

Hi

I just bought the basic subscription, installed it and started my app. I have a lot of text objects: some have  moved about half way off the screen, while others have disappeared completely offstage.

There are no warnings in the terminal.

Here’s an example of a statement that was working fine before: 

welcomeDisplay1 = display.newText(displaySplashGroup,"Music History in a Flash!" , 150, 300,  FONT\_NAME, 70 )  

Here’s my config.lua:

application = {     content = {         width = 768,         height = 1024,          scale = "letterbox",         fps = 30,     }, }  

(The website isn’t recognizing me yet as a subscriber, so I haven’t been able to download a daily build yet. Perhaps that’s the issue)

Thanks,

David

So it seems that Corona is now putting the center of my text objects at the coordinates I specified, rather than the top left corner. Why did that change? Is there a way to specify that I want the top left corner of the text object to be placed at the desired coordinates, rather than the center?

thanks,

Hi, You can set the anchor points to 0 - with graphics 2 they are center aligned by default (0.5) Ie welcomeDisplay1.anchorX =0 welcomeDisplay1.anchorY =0 Or you can change the defaults with display.setDefaulthttp://docs.coronalabs.com/api/library/display/setDefault.html#TOC

thank you :slight_smile:

So it seems that Corona is now putting the center of my text objects at the coordinates I specified, rather than the top left corner. Why did that change? Is there a way to specify that I want the top left corner of the text object to be placed at the desired coordinates, rather than the center?

thanks,

Hi, You can set the anchor points to 0 - with graphics 2 they are center aligned by default (0.5) Ie welcomeDisplay1.anchorX =0 welcomeDisplay1.anchorY =0 Or you can change the defaults with display.setDefaulthttp://docs.coronalabs.com/api/library/display/setDefault.html#TOC

thank you :slight_smile: