Hello, I have a ScrollPanel enclosing a Grid Widget. The ScrollPanel is a child of a DockLayoutPanel (West, 50%) which is a child of a RootLayoutPanel. The DockLayoutPanel is configured to take up the complete browser window and this works fine. Browser window vertical and horizontal resizes work fine.
The issue that I am trying to solve is that when I expand my browser window horizontally, the West ScrollPanel expands as it should. My Grid Widget, inside the scroll panel expands to its maximum horizontal size and as I keep expanding the browser horizontally, the Scroll Panel keeps expanding and the ScrollPanel's vertical scroll bar moves further and further away from my Grid Widget. After a while, the scroll bar is quite a ways from the Grid Widget. Is there some way that I can force the ScrollPanel's width to be only slightly larger than the width of the Grid Widget inside. I have tried to get the Grid Widgets width (getOffsetWidth) but this does not work--as I don't think the widget is rendered when I make the call. Any insight would be helpful. Thanks, Greg Laird -- 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/-/j_-CboHATlMJ. 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.
