Hey all, I’m running windows 8 (64 bit) and recently updated from daily build 1182 to >=1183 and have noticed that in the simulator all my centered text elements are out of alignment now. Anyone else notice this?
I develop on both mac and windows but this problem only manifests on the windows simulator, downgrading to 1182 fixes the issue. It also compiles fine with >=1183 builds, just shows the text wrong in the simulator.
Here is some sample code for how I am creating the text (in case I’m doing something wrong there?):
fitnessLevelText = display.newText({ text = "Motivated Beginner", x = 320, y = 220, width = 640, height = 40, align = 'center', font = native.systemFontBold, fontSize = 32 })
Here is config:
application = { showRuntimeErrors = true, content = { width = 640, height = 960, scale = "letterbox", fps = 30, }, }
And build.settings
-- Supported values for orientation: -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight settings = { orientation = { default = "portrait", supported = { "portrait", } }, iphone = { plist = { UIStatusBarHidden = true, UIPrerenderedIcon = true, -- set to false for "shine" overlay --UIApplicationExitsOnSuspend = true, -- uncomment to quit app on suspend } }, -- Android permissions android = { usesPermissions = { -- Permission to use the network "android.permission.INTERNET", -- Permission to retrieve current location from the GPS. "android.permission.ACCESS\_FINE\_LOCATION", -- Permission to retrieve current location from WiFi or cellular service. "android.permission.ACCESS\_COARSE\_LOCATION", }, }, }
Thoughts? Let me know if you need any more details about my environment.