On Wednesday, September 19, 2012 4:55:33 PM UTC+2, Antoine Lever wrote:
How do you do that? I was under the impression that you could only add one layoutPanel via RootLayoutPanel.get().
The only constraint is that you add RequiresResize widgets to ProvidesResize widgets. RootLayoutPanel is a ProvidesResize, and all layout panels implement both interfaces (and, for instance, DataGrid is a RequiresResize but not a ProvidesResize, as it's not a container). If you break that ProvidesResize/RequiresResize chain, you have to explicit set the dimensions of the RequiresResize widget.