You could set an overflow-y:scroll CSS property on the html element to
force the scrollbar to always appear:
http://www.mediacollege.com/internet/css/scroll-always.html
Otherwise, well, periodically check the size of the viewport?
On Wednesday, March 28, 2012 8:44:03 PM UTC+2, Ashton Thomas wrote:
>
> I have a layout that dynamically resizes via:
> Window.addResizeHandler(new ResizeHandler() {
>
>
> However, this is NOT fired when the browsers adds the scroll bars once the
> UI has dynamically added content to extend the browser's screen
>
> So my app is fine when it first loads and the content doesn't go below the
> viewport; however, once the content goes below the browsers automatically
> adds its scrollbars but a resize event is not fired.
>
> This is a problem because the width of the scrollbars also causes the
> bottom horizontal scrollbars to show.
>
>
> I appreciate your thoughts! Thanks!
>
>
>
>
--
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/-/CDEwiuSfzUgJ.
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.