int wholeSize;
int pixelPosition;
+ DOM.setStyleAttribute(firstContainer, "overflow", "hidden");
+ DOM.setStyleAttribute(secondContainer, "overflow", "hidden");
+
switch (orientation) {
case ORIENTATION_HORIZONTAL:
wholeSize = DOM.getElementPropertyInt(wrapper, "clientWidth");
if (Util.isIE7()) {
// Part I of IE7 weirdness hack, will be set to auto in layout phase
- DOM.setStyleAttribute(firstContainer, "overflow", "hidden");
- DOM.setStyleAttribute(secondContainer, "overflow", "hidden");
Util.runDescendentsLayout(this);
DeferredCommand.addCommand(new Command() {
public void execute() {
});
} else {
Util.runDescendentsLayout(this);
+ DOM.setStyleAttribute(firstContainer, "overflow", "auto");
+ DOM.setStyleAttribute(secondContainer, "overflow", "auto");
}
}