[OpenLayers-Users] Crazy scrollbar [SmartGWT & OpenLayers]

Cornelius kornel.olejniczak at gmail.com
Fri Aug 26 08:29:58 EDT 2011


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:


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:


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

I'm using: 

Chrome v. 13.0.782.112 m
SmartGWT v. 2.5
eclipse Indigo

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Crazy-scrollbar-SmartGWT-OpenLayers-tp6728544p6728544.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list