Re: My Hack to Get The Browser Scrollbars Useable

2008-11-18 Thread Sumit Chandel

Hi Scott,

As far as I know, if your GWT application is overflows the size of the
browser window, the browser scroll bars should always appear unless
you're explicit doing something to prevent them from showing up.

Do you have any simple reproducible code to see the case you've come
across on our end?

Cheers,
-Sumit Chandel

On Mon, Nov 17, 2008 at 5:24 AM, Adligo [EMAIL PROTECTED] wrote:

 Hi All,

   So I just reworked adligo.com to use all mostly gwt (did some basic
 animation).  One thing I got caught on for a bit was the browser
 scroll bar was disabled when the content was longer than the browser
 window.  The fix ended up being;

 rootPanel = RootPanel.get();
 rootPanel.setStyleName(a_roman_back);

 MainPanel main = new MainPanel();
 rootPanel.add(main);
 main.setSize(100%, 300%);

 Should the GWT platform simply check for overflows and enable the
 browser scroll bars somehow?

 This would be nice, since my hack could still overflow.

 Cheers,
 Scott
 


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



My Hack to Get The Browser Scrollbars Useable

2008-11-17 Thread Adligo

Hi All,

   So I just reworked adligo.com to use all mostly gwt (did some basic
animation).  One thing I got caught on for a bit was the browser
scroll bar was disabled when the content was longer than the browser
window.  The fix ended up being;

rootPanel = RootPanel.get();
rootPanel.setStyleName(a_roman_back);

MainPanel main = new MainPanel();
rootPanel.add(main);
main.setSize(100%, 300%);

Should the GWT platform simply check for overflows and enable the
browser scroll bars somehow?

This would be nice, since my hack could still overflow.

Cheers,
Scott
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---