I have a composite that expands ResizeCompositeand has as root DockLayoutPanel. I can paste it right in RootLayoutPanel, and it works because DockLayoutPanel ProvidesResize.
However, I want to use MVP objects in GWT 2.2, and RootLayoutPanelcannot be passed in ActivityManager#setDiplay(AcceptsOneWidget)(since this is a container with multiple widgets).
At first glance ScrollPanel, it appears to be responsible dual requirements of implementation AcceptsOneWidgetand how ProvidesResize, and so RequiresResize.
But I find that when I put my widget in ScrollPanel, it is “zero size” and I need to manually change it to see it, and I have trouble understanding what size to give it. I would prefer a panel that didn't necessarily scroll.
source
share