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. See https://developers.google.com/web-toolkit/doc/latest/DevGuideUiPanels#Resize (and also search for “Using a LayoutPanel without RootLayoutPanel” in that same page) -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/2wrpGAtEtFQJ. 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/google-web-toolkit?hl=en.
