I’m on XCODE 4.4.1, OSX 10.7.4 64bit.
[import]uid: 13784 topic_id: 29940 reply_id: 120074[/import]
Ah okay, I use scaling, so I don’t see the problem you are having. You might want to submit a bug report (with a project that doesn’t include build.settings), and explain why you need it to work?
Naomi [import]uid: 67217 topic_id: 29940 reply_id: 120103[/import]
Well, the forum says to post them here and to use the link in the sticky:
http://developer.coronalabs.com/project/issues/
But that link doesn’t work, so… Hopefully, someone who works for Corona will see this and think “oh, that’s an easy fix”.
But there’s the report a bug link so, it’s filed here: http://developer.coronalabs.com/content/bug-submission
[import]uid: 13784 topic_id: 29940 reply_id: 120104[/import]
This problem is because Corona is using pixels where it should be using points. This means everything is doubled for native display objects: x, y, width, and height. Looks like the issue is only present when dynamic scaling is disabled. All our sample apps have dynamic scaling enabled so this issue hasn’t come up.
This problem doesn’t affect text, images or vector objects.
Did you file a bug report on this? I can file a bug report and sample code if you haven’t.
This should be a simple fix except we need to be careful and not break dynamic scaling and orientation so after we fix it, we need to run though a bunch of test cases.
Thanks for posting this and your test code.
-Tom [import]uid: 7559 topic_id: 29940 reply_id: 120144[/import]
Hi Tom.
Yes, I filed a bug, too.
I also posted a work around here in the meantime:
http://developer.coronalabs.com/code/retina-bug-work-around-native-textfield-creation
Thanks for the response, it really means a lot!
Best,
Chris [import]uid: 13784 topic_id: 29940 reply_id: 120145[/import]
Hi, Tom, when this bug is worked on, it would be great if another native.newTextField related scaling bug is worked on:
It’s filed as Case# 16571.
Thanks!
Naomi [import]uid: 67217 topic_id: 29940 reply_id: 120149[/import]
For reference, on build 881, nativeTextFields on Android do not set font size correct.
If the font is 10, and you set it to 11, it will go to random amount like 18…
[import]uid: 13784 topic_id: 29940 reply_id: 120201[/import]