diff options
author | Artur Signell <artur.signell@itmill.com> | 2010-08-16 04:36:37 +0000 |
---|---|---|
committer | Artur Signell <artur.signell@itmill.com> | 2010-08-16 04:36:37 +0000 |
commit | 789c80e2537d800f029734184975c13464f116a8 (patch) | |
tree | 4096a6d40c24c10deef335564677ff7c957243e7 /src/com/vaadin/terminal/gwt/client/ui/VCustomLayout.java | |
parent | 2ec9d85a5c82edd781eb3585209e6b4405d345e3 (diff) | |
download | vaadin-framework-789c80e2537d800f029734184975c13464f116a8.tar.gz vaadin-framework-789c80e2537d800f029734184975c13464f116a8.zip |
Formatted using Eclipse Helios / Windows XP
svn changeset:14496/svn branch:6.4
Diffstat (limited to 'src/com/vaadin/terminal/gwt/client/ui/VCustomLayout.java')
-rw-r--r-- | src/com/vaadin/terminal/gwt/client/ui/VCustomLayout.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/VCustomLayout.java b/src/com/vaadin/terminal/gwt/client/ui/VCustomLayout.java index 7cfe627492..e67c9e6a44 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VCustomLayout.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VCustomLayout.java @@ -21,12 +21,12 @@ import com.vaadin.terminal.gwt.client.BrowserInfo; import com.vaadin.terminal.gwt.client.Container; import com.vaadin.terminal.gwt.client.ContainerResizedListener; import com.vaadin.terminal.gwt.client.Paintable; +import com.vaadin.terminal.gwt.client.RenderInformation.FloatSize; import com.vaadin.terminal.gwt.client.RenderSpace; import com.vaadin.terminal.gwt.client.UIDL; import com.vaadin.terminal.gwt.client.Util; import com.vaadin.terminal.gwt.client.VCaption; import com.vaadin.terminal.gwt.client.VCaptionWrapper; -import com.vaadin.terminal.gwt.client.RenderInformation.FloatSize; /** * Custom Layout implements complex layout defined with HTML template. @@ -530,9 +530,9 @@ public class VCustomLayout extends ComplexPanel implements Paintable, .getParentElement(); FloatSize extra = locationToExtraSize.get(getLocation(child)); - return new RenderSpace(pe.getOffsetWidth() - (int) extra.getWidth(), pe - .getOffsetHeight() - - (int) extra.getHeight(), Util.mayHaveScrollBars(pe)); + return new RenderSpace(pe.getOffsetWidth() - (int) extra.getWidth(), + pe.getOffsetHeight() - (int) extra.getHeight(), + Util.mayHaveScrollBars(pe)); } @Override @@ -604,8 +604,8 @@ public class VCustomLayout extends ComplexPanel implements Paintable, || (relativeHeight && (relativeSize.getHeight() >= 0.0f))) { relativeSizeWidgets.add(widget); - widget.getElement().getStyle().setProperty("position", - "absolute"); + widget.getElement().getStyle() + .setProperty("position", "absolute"); } } } |