You can use validation which does that automatically based on constraints: https://www.codenameone.com/javadoc/
It can also adapt based on input styles/OS see: https://www.codenameone.com/blog/pixel-perfect-text-input-part-2.html -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/874ec918-3be9-406f-8954-1c4304d47be5%40googlegroups.com.
