It's a simple problem: I want a checkBox and a comboBox to appear in a
same row. I tried to render them in a Panel with a verticalLayout (as
I need a lot of rows). It renders both things but the name of the
comboBox doesn't show up and I need it to show. Unless I change the
line panel to a FormPanel (and remove the setLayout()) but then the
checkbox and the combobox won't be in the same line.
The code is as simple as this:
public class LinePanel extends Panel{
public LinePanel(){
this.setLayout(new HorizontalLayout(5));
ComboBox cb = new ComboBox("parameter","value",100);
Checkbox ckb = new Checkbox();
this.add(ckb);
this.add(cb);
}
}
(and later I call an instance of this class to render it)
Any help?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---