summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2009-05-14 11:12:38 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2009-05-14 11:12:38 +0000
commit13f2032ee97138ad555ac5792cb3fada68c5c12d (patch)
treee7cc500dad1eeecd09e2cccd584924395a3d66fe
parent4ff9b453dedc39db658b17991a4c06b70cd961ac (diff)
downloadvaadin-framework-13f2032ee97138ad555ac5792cb3fada68c5c12d.tar.gz
vaadin-framework-13f2032ee97138ad555ac5792cb3fada68c5c12d.zip
Absolutelayout canvas now clips overflown content. Fixes #2913
svn changeset:7799/svn branch:6.0
-rw-r--r--src/com/vaadin/terminal/gwt/client/ui/VAbsoluteLayout.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/VAbsoluteLayout.java b/src/com/vaadin/terminal/gwt/client/ui/VAbsoluteLayout.java
index 472913d66f..a370909167 100644
--- a/src/com/vaadin/terminal/gwt/client/ui/VAbsoluteLayout.java
+++ b/src/com/vaadin/terminal/gwt/client/ui/VAbsoluteLayout.java
@@ -52,6 +52,7 @@ public class VAbsoluteLayout extends ComplexPanel implements Container {
setStyleName(CLASSNAME);
marginElement = Document.get().createDivElement();
canvas.getStyle().setProperty("position", "relative");
+ canvas.getStyle().setProperty("overflow", "hidden");
marginElement.appendChild(canvas);
getElement().appendChild(marginElement);
}