This is what I got when I ran something similar:
<https://lh3.googleusercontent.com/-OsQVv43cnmY/V5WOVgo6BHI/AAAAAAAAt_Q/c9ffk4kt81ALZkeLUtrgvoYWXiXXAF1owCLcB/s1600/CodenameOne%2BScreenshot%2B5.png> The sample is overly complex so it's kind of hard to see what goes wrong or if something goes wrong and it seems to be working fine. I suggest reducing this to as small a test case as possible and using something I can just paste into a standard barebones hello world. TableLayout layout = new TableLayout(5,3); Form f = new Form("Table", layout); f.add(layout.createConstraint().widthPercentage(20), new Label()); f.add(layout.createConstraint().widthPercentage(40), new Label()); f.add(layout.createConstraint().widthPercentage(40), new Label()); f.add(layout.createConstraint().horizontalSpan(1), new Label("Last:" )); f.add(layout.createConstraint().horizontalSpan(1), new TextField()); f.add(layout.createConstraint().horizontalSpan(1), new TextField()); f.add(layout.createConstraint().horizontalSpan(1), new Label( "First:")); f.add(layout.createConstraint().horizontalSpan(1), new TextField()); f.add(layout.createConstraint().horizontalSpan(1).verticalSpan(4), new SpanLabel("Long text\nThat should\nBreak lines\nIn spanning...")); f.add(layout.createConstraint().horizontalSpan(1), new Label("Age:" )); f.add(layout.createConstraint().horizontalSpan(1), new TextField()); f.add(layout.createConstraint().horizontalSpan(1), new Label( "Height:")); f.add(layout.createConstraint().horizontalSpan(1), new TextField()); f.add(layout.createConstraint().horizontalSpan(1), new Label( "Weight:")); f.add(layout.createConstraint().horizontalSpan(1), new TextField()); f.add(layout.createConstraint().horizontalSpan(1), new TextField()); f.add(layout.createConstraint().horizontalSpan(3), new Label("Some Really Long Text that represents a button panel that should span")); f.show(); -- 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/920dfdd8-5380-407a-996e-904a66a54ee9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
