[codenameone-discussions] Re: TextField will not center justify when Theme element is set to Center Alignment

2018-12-05 Thread Shai Almog
TextArea will center visually which is useful for display. However, once you start editing everything will jump to the left/right (depending on RTL) so this is mostly useful for display. All workarounds for this suck. You can place the text field in a flow layout center alignment and make it th

[codenameone-discussions] Re: TextField will not center justify when Theme element is set to Center Alignment

2018-12-05 Thread shop . service . assistant
Can you suggest a work around? I could use TextArea and limit the rows to 1 since TextArea does support Centering Test with proper UIID. Thoughts? On Tuesday, December 4, 2018 at 12:42:41 PM UTC-5, shop.servic...@gmail.com wrote: > If you are experiencing an issue please mention the full platf

[codenameone-discussions] Re: TextField will not center justify when Theme element is set to Center Alignment

2018-12-04 Thread Shai Almog
We don't support centered text field input. This is a bit tricky to support with the way text fields work. A text field pushes input outside of its field whereas a centered text field behaves very differently. This on its own is fixable but implementing it in a way that will seamlessly transitio