aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/terminal/gwt/client/ui/VCustomLayout.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/vaadin/terminal/gwt/client/ui/VCustomLayout.java')
-rw-r--r--src/com/vaadin/terminal/gwt/client/ui/VCustomLayout.java12
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");
}
}
}