Wednesday, August 31, 2011

Crazy Scrollbars in Chrome

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).

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/DOUtMoQnZPwJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment