On Wed, Dec 7, 2011 at 4:41 PM, Matt S <[email protected]> wrote:

> You stated you could see why it won't work, but did you figure out a
> suitable
> solution? I have a similar deal - how can we allow a whole-screen scroll
> with
> ScrollPanel when you have a ResizeCompositeWidget inside?
>
> In my case, I have a TabLayoutPanel as part of my page, and depending upon
> user
> interaction, what is displayed on the tab can greatly vary. But I don't
> just want
> the TabLayoutPanel to scroll, I want the whole page to do so,
> header/footer/everything.


 Well, making a LayoutPanel grow depending on content height, is possible,
but pretty ugly! (measuring and resizing, ugh) so you'll probably want to
abandon the TabLayoutPanel, and roll your own, using just a SimplePanel to
hold the content, and a set of Buttons that change 'tab' by called
setWidget() on the SimplePanel.

Actually... TabLayoutPanel uses a DeckLayoutPanel to hold its content, and
there is also DeckPanel and TabPanel, these might do what you need out of
the box, I haven't tried them.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
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.

Reply via email to