Crazy Scrollbars in Chrome

18 views
Skip to first unread message

Korneliusz Olejniczak

unread,
Aug 31, 2011, 3:34:12 AM8/31/11
to google-we...@googlegroups.com
Hi,

I'm having a problem with a scrollbar but only in Chrome. When i open my site, the scrollbar is sequentially hiding/showing itself. The sizes used in the onResized() look like this:

Code:
public void onResized(ResizedEvent event) {
map.resize(MapContainer.this.getWidthAsString(),MapContainer.this.getHeightAsString());
Window.alert("w: " + MapContainer.this.getWidthAsString() + "|h: "+ MapContainer.this.getHeightAsString());
}

Does anyone know what can cause that?

The Window... is used to see what sizes are being sent to resize, and the map.resize looks like:

Code:
public void resize(final String width, final String height) {
        map.setWidth(width);
        map.setHeight(height);
        container.setWidth(width);
        container.setHeight(height);
    }

Im using:
GWT 2.3
SmartGWT  2.5
GWT OpenLayers 0.6
Maven 2.2.1
Chrome 13.0.782.218 m
And programming it in eclipse Indigo (3.7).
Reply all
Reply to author
Forward
0 new messages