I can't think of anything that would have caused this either. I tried
building a sample app with the code provided, and it seems to be working
fine in the iOS simulator for an iPhone SE, and on my actual device iPhone
8.
My test case is
public void testIOSTextRegression() {
Form f = new Form();
f.setLayout(new BorderLayout(BorderLayout.CENTER_BEHAVIOR_CENTER));
Container c = new Container(new BoxLayout(BoxLayout.Y_AXIS));
c.setScrollableY(true);
Container btnsContainer = new Container(new
BoxLayout(BoxLayout.Y_AXIS));
Label frmIco = new Label();
FontImage.setMaterialIcon(frmIco, FontImage.MATERIAL_INPUT, 15);
//frmIco.setIcon(createFormIcon(frmIco, FontImage.MATERIAL_INPUT,
15));
Container iconCont = new Container(new FlowLayout(CENTER));
iconCont.add(frmIco);
c.add(iconCont);
Container codeContainer = new Container(new
BorderLayout(BorderLayout.CENTER_BEHAVIOR_CENTER));
TextField code = new TextField("", "code_hnt");
codeContainer.add(BorderLayout.CENTER, code);
Button history = new Button();
FontImage.setMaterialIcon(history, FontImage.MATERIAL_HISTORY);
codeContainer.add(BorderLayout.EAST, history);
c.add(codeContainer);
f.addComponent(BorderLayout.CENTER, c);
f.show();
}
If you can modify this test case to reproduce the behaviour, I can take
another look.
Steve
On Sun, Oct 29, 2017 at 10:04 PM, Shai Almog <[email protected]> wrote:
> I don't see any commit from the past week that could be suspect:
> https://github.com/codenameone/CodenameOne/commits/master
> Is this only on this specific text field or is there a wider impact?
> Is this related to the border layout center behavior for the text field?
>
> --
> 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].
> Visit this group at https://groups.google.com/
> group/codenameone-discussions.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/codenameone-discussions/437164c5-7d2f-419d-afbc-
> 1ffafa83a789%40googlegroups.com
> <https://groups.google.com/d/msgid/codenameone-discussions/437164c5-7d2f-419d-afbc-1ffafa83a789%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>
--
Steve Hannah
Software Developer
Codename One
http://www.codenameone.com
--
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].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit
https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKVcM6ShaRHs%2BWP5N-mhM5_eo%3Dj--HKp_dAgca6g4uVvuA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.