Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]

My input text is cut off halfway on some Android devices!! PLS HELP!
Started by Lava Level Feb 03 2013 03:22 AM

- - - - -
100 replies to this topic
« Page 5 of 5 3 4 5
This topic has been archived. This means that you cannot reply to this topic.
[TOPIC: post.html]

Joshua Quick

[GLOBAL: userInfoPane.html]
Joshua Quick
  • Moderator

  • 3,397 posts
  • Corona Staff

Perhaps you are resizing the height of your TextField somewhere else in your code then?  Because the auto-sizing of the font definitely works.  Try doubling the height of your TextField upon creation.


Also, the margins on an Android TextField is much much larger than it is on iOS.  This can't be changed programmatically natively.  That's just how Google's made the UI theme.  If your TextField height is shorter than normal (ie: shorter than what you are seeing in other Android apps), then that's a problem too.  Your TextField will need to be taller.

And again, the ***best*** solution is to size the height of the field based on the default system font size.  This will work on all platforms and display resolutions/DPIs.  How you're trying to size it now is not full proof.

« Page 5 of 5 3 4 5