The tablayoutpanel should not go bigger than the browser window.

Instead of overflow try overflow-y.  I think you are able to apply
that to the container element and skip the extra widget.

You should look at the W3 schools CSS tutorials...

On Nov 24 2011, 1:21 am, Ashwani Gupta <ashwani...@gmail.com> wrote:
> The ScrollPanel option and ResizeLayoutPanel with Overflow = auto both
> works fine.
> Based on the screen shot i have attached i want to know why do i see two
> scroll bars.
> There should have been only one scroll bar.
>
> And on the other note why is there a need to add Scroll Panel or
> ResizeLayoutPanel.
> I thought that on resize the TabLayoutPanel will auto resize itself without
> the need of adding a child Scroll Panel or ResizeLayoutPanel.
>
> On Mon, Nov 21, 2011 at 10:02 PM, Ashwin Desikan
> <ashwin.desi...@gmail.com>wrote:
>
>
>
> > you can add a scroll panel or use one of the layoutpanel's  like a
> > ResizeLayoutPanel, set it 100% height and also the additional style of
> > Overflow : auto
>
> > this would make it to scroll automatically when the height of the tabpanel
> > changes
>
> > ~Ashwin
>
> > On Tuesday 22 November 2011 02:43:28 AM IST, Paul Stockley wrote:
>
> >> You need a ScrollPanel as the first child of the tab. You may also need
> >> to set the width and height on this panel to 100%
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "Google Web Toolkit" group.
> >> To view this discussion on the web visithttps://groups.google.com/d/**
> >> msg/google-web-toolkit/-/**zmz3phOOuHcJ<https://groups.google.com/d/msg/google-web-toolkit/-/zmz3phOOuHcJ>
> >> .
> >> To post to this group, send email to google-web-toolkit@**
> >> googlegroups.com <google-web-toolkit@googlegroups.com>.
> >> To unsubscribe from this group, send email to google-web-toolkit+**
> >> unsubscr...@googlegroups.com<google-web-toolkit%2Bunsubscribe@googlegroups.
> >>  com>
> >> .
> >> For more options, visit this group athttp://groups.google.com/**
> >> group/google-web-toolkit?hl=en<http://groups.google.com/group/google-web-toolkit?hl=en>
> >> **.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to 
> > google-web-toolkit@**googlegroups.com<google-web-toolkit@googlegroups.com>
> > .
> > To unsubscribe from this group, send email to google-web-toolkit+**
> > unsubscr...@googlegroups.com<google-web-toolkit%2Bunsubscribe@googlegroups. 
> > com>
> > .
> > For more options, visit this group athttp://groups.google.com/**
> > group/google-web-toolkit?hl=en<http://groups.google.com/group/google-web-toolkit?hl=en>
> > **.
>
>
>
>  TabLayoutPanel_DynamicResizingWithScrollPanel.PNG
> 102KViewDownload

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to