From 13f2032ee97138ad555ac5792cb3fada68c5c12d Mon Sep 17 00:00:00 2001 From: Matti Tahvonen Date: Thu, 14 May 2009 11:12:38 +0000 Subject: Absolutelayout canvas now clips overflown content. Fixes #2913 svn changeset:7799/svn branch:6.0 --- src/com/vaadin/terminal/gwt/client/ui/VAbsoluteLayout.java | 1 + 1 file changed, 1 insertion(+) 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); } -- cgit v1.2.3