Solved this.
Changed the form layout to TableLayout, removed the extended container
classes, and added the components to the form with:
int h = 100 * Display.getInstance().convertToPixels(SIZE, false) /
MyForm.this.getHeight();
add(layout.createConstraint().heightPercentage(h), result);
add(layout.createConstraint().heightPercentage(100-h), f);
Scrolling now works, and the relative sizes are just what I wanted.
Now see if I can get the upside-down scrolling to work :)
--
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/ffd14495-dff6-4ed7-9569-c27bcb1c2081%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.