Just a quickie; If I run the showcase sample using IE with BlackOps theme from http://www.smartclient.com/smartgwt/showcase/, the page renders nicely inside the boundaries of the browser.
Yet, when running the showcase sample using BlackOps theme from the samples directory, IE’s horizontal scrollbar appears temporarily leaving whitespace at the foot of the browser. Subsequently, the background image does not fit completely.
This isn’t a problem with FF, but I’m finding it difficult to understand the difference between the version online and in the samples directory.
Anyone else had a similar issue and/or knows of a workaround?
Not sure what the difference is that you’re seeing, but if an application is never intended to scroll at the browser level (eg, only interior scrolling, as in grids), we generally recommend you set overflow:hidden on the <body> element via CSS. That eliminates any possible issue with browser-level scrollbars even if a given application incorrectly sizes some elements.
In IE the horizontal scrollbar appeared briefly, and I think setHeight100() on the VLayout took this into account before it was rendered. Subsequently, when the scrollbar disappeared, it left some whitespace at the foot of the browser.
Should anyone have a similar problem, add the following before invoking draw.