-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi friends,
I have a listbox with five columns. The thing is, that in the last column I want to put two differents buttons and I need to group them in the same fith column. I dont know what component I need to use, because the ListCell not allow childs.
thanks in advance.
regards.
Hi Scerro,
do all in a hbox.
lc = new Listcell(); Hbox hbox = new Hbox(); hbox.setParent(lc); /* Button 1 */ Button btn1 = new Button(); btn1.setLabel("btn1"); hbox.appendChild(btn1); /* Button 2 */ Button btn2 = new Button(); btn2.setLabel("btn2"); hbox.appendChild(btn2); lc.setParent(item);
best
Stephan
Find codes in SecLoginlogListModelItemRenderer.java
thank you again Stephan,
best regards,
Asked: 2010-02-17 07:47:16 +0800
Seen: 169 times
Last updated: Feb 17 '10