Form hi = new Form("Test", new BorderLayout());
hi.setFormBottomPaddingEditingMode(true);
hi.add(BorderLayout.NORTH, new Label("Top"));
Container c = new Container(new BoxLayout(BoxLayout.Y_AXIS));
c.setScrollableY(true);
hi.add(BorderLayout.CENTER, c);
hi.add(BorderLayout.SOUTH, new TextField("", "hint", 1000, TextField.ANY));
hi.show();
Notice the hi.setFormBottomPaddingEditingMode(true);. This will work as expected except in the following case, in which the TextFieldis left floating in the middle of the screen:
-Running on iOS (tested on iPad4)
-Keyboard is expanded, and then it is folded using the keyboard fold key in the bottom-right corner (not the "done" button. The "done" button correctly brings the TextField back to the bottom)
Take the following code:
Notice the
hi.setFormBottomPaddingEditingMode(true);
. This will work as expected except in the following case, in which theTextField
is left floating in the middle of the screen: -Running on iOS (tested on iPad4) -Keyboard is expanded, and then it is folded using the keyboard fold key in the bottom-right corner (not the "done" button. The "done" button correctly brings theTextField
back to the bottom)Example screenshot of bug:
Key that triggers this (bottom right key):