the string picker is showing with no width, so the items can't be chosen?
     Picker picker = new Picker();
    picker.setStrings("", "String 1", "String 2");
    TableLayout layout = new TableLayout(5,3);

        Container cnt1 = new Container(layout);
        cnt1.add(layout.createConstraint().widthPercentage(20), new 
Label());
        cnt1.add(layout.createConstraint().widthPercentage(40), new 
Label());
        cnt1.add(layout.createConstraint().widthPercentage(40), new 
Label());
    cnt1.add(layout.createConstraint().horizontalSpan(1), new 
Label("Last:"));
    cnt1.add(layout.createConstraint().horizontalSpan(1), new TextField());
    cnt1.add(layout.createConstraint().horizontalSpan(1),picker);



result:

<https://lh3.googleusercontent.com/-IFzsZX43aRE/V5VxvV2Mt9I/AAAAAAAAEGs/NAr_vyYRzhMHMKLW2WVhRlrT5RlpDZw-ACLcB/s1600/Screenshot%2Bfrom%2B2016-07-24%2B18-53-56.png>

-- 
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/f0fdb1c9-dc68-46d3-a708-d8820931ad61%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to