From: Matti Tahvonen Date: Tue, 7 Oct 2008 12:21:09 +0000 (+0000) Subject: renderspace dummy implementation for icustomlayout X-Git-Tag: 6.7.0.beta1~4017 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d70116359e287ccd11a0791813dcec01cdd9f74a;p=vaadin-framework.git renderspace dummy implementation for icustomlayout svn changeset:5605/svn branch:trunk --- diff --git a/src/com/itmill/toolkit/terminal/gwt/client/ui/ICustomLayout.java b/src/com/itmill/toolkit/terminal/gwt/client/ui/ICustomLayout.java index 5a87897067..09987f2b73 100644 --- a/src/com/itmill/toolkit/terminal/gwt/client/ui/ICustomLayout.java +++ b/src/com/itmill/toolkit/terminal/gwt/client/ui/ICustomLayout.java @@ -474,13 +474,13 @@ public class ICustomLayout extends ComplexPanel implements Paintable, }-*/; public boolean requestLayout(Set child) { - // TODO Auto-generated method stub return false; } public RenderSpace getAllocatedSpace(Widget child) { - // TODO Auto-generated method stub - return null; + com.google.gwt.dom.client.Element pe = child.getElement() + .getParentElement(); + return new RenderSpace(pe.getOffsetWidth(), pe.getOffsetHeight(), true); } }