\r
private boolean isRendering = false;\r
\r
+ private String width = "";\r
+\r
public IOrderedLayout() {\r
setStyleName(CLASSNAME);\r
}\r
\r
@Override\r
public void setWidth(String width) {\r
+ if (this.width.equals(width)) {\r
+ return;\r
+ }\r
Size sizeBefore = new Size(activeLayoutSize.getWidth(),\r
activeLayoutSize.getHeight());\r
\r
super.setWidth(width);\r
-\r
+ this.width = width;\r
if (width != null && !width.equals("")) {\r
setActiveLayoutWidth(getOffsetWidth()\r
- activeMargins.getHorizontal());\r
private ApplicationConnection client;
- private String width = null;
+ private String width = "";
- private String height = null;
+ private String height = "";
private RenderSpace firstRenderSpace = new RenderSpace(0, 0, true);
private RenderSpace secondRenderSpace = new RenderSpace(0, 0, true);
@Override
public void setHeight(String height) {
+ if (this.height.equals(height)) {
+ return;
+ }
+
this.height = height;
super.setHeight(height);
if (!rendering && client != null) {
@Override
public void setWidth(String width) {
+ if (this.width.equals(width)) {
+ return;
+ }
+
this.width = width;
super.setWidth(width);
if (!rendering && client != null) {