Aye aye! Firebug is key! You can right click an element in HTML tab,
click "add attribute", type style ENTER overflow-x:hidden ENTER, then
in the right hand panel, you can add / edit styles w/ autocomplete.
To add a new style in the css panel, just click on any entry, and
press enter until you get a cursor. ...Of course, you probably know
this already, I just love talkin' about how great Firebug is...
If you're feeling lazy, try Window.enableScolling(false), which sets
body.style.overflow: hidden;
If you WANT vertical scrollbars, just do RootPanel.getBodyElement
().getStyle().setProperty("overflowX","hidden");
Actually, I do: .xVerticalOverflow{overflow: hidden !
important;overflow-x: hidden !important;overflow-y: auto !important;},
as IE6 choked without overriding the "both" overflow and overflow-x/
y. Making the overflow hidden might force IE to give back your
horizontal scrollbar, and it will definitely fix Firefox...
RootPanel.getBodyElement().setClassName("xVerticalOverflow"); ...Or,
since you use incubator, define it in a CssResource for obfuscated
class names...
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---