Closed GoogleCodeExporter closed 9 years ago
Hi,
after adding or removing items in a LayoutPanel based widget that is already
rendered
you should call layout():
b.addClickListener(new ClickListener(){
public void onClick(Widget sender) {
final ImageButton refreshBtn = new ImageButton(Caption.IMAGES.toolRefresh());
window.getHeader().add(refreshBtn, CaptionRegion.RIGHT);
window.getHeader().layout(); // <=====================================
}});
Kind Regards,
George.
Original comment by georgopo...@gmail.com
on 6 Dec 2008 at 1:16
Thank you George. Sorry but sometimes I dont´t know if it's an issue or just
something I'm doing wrong.
Regards
Original comment by agarin@gmail.com
on 7 Dec 2008 at 3:14
I have to document how the layout panel works.
Thanks,
George.
Original comment by georgopo...@gmail.com
on 7 Dec 2008 at 4:16
Original issue reported on code.google.com by
agarin@gmail.com
on 5 Dec 2008 at 7:07