diff options
author | John Ahlroos <john@vaadin.com> | 2012-10-01 08:46:58 +0300 |
---|---|---|
committer | John Ahlroos <john@vaadin.com> | 2012-10-01 08:46:58 +0300 |
commit | 108ead76188fd8b91bddef5252eb875958babbe0 (patch) | |
tree | f1b330b0cd752fe504870dc797eb4f03b48ed738 /client | |
parent | 4c92f1927d4cfc81fca41e1ab24b5c95d1b70a68 (diff) | |
parent | dd6301d843522c4c0769bd8381179cc88b6d59a6 (diff) | |
download | vaadin-framework-108ead76188fd8b91bddef5252eb875958babbe0.tar.gz vaadin-framework-108ead76188fd8b91bddef5252eb875958babbe0.zip |
Merge branch 'master' into primary-stylename
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/ui/orderedlayout/AbstractOrderedLayoutConnector.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/client/src/com/vaadin/client/ui/orderedlayout/AbstractOrderedLayoutConnector.java b/client/src/com/vaadin/client/ui/orderedlayout/AbstractOrderedLayoutConnector.java index d65a2aeb9b..15407a16f4 100644 --- a/client/src/com/vaadin/client/ui/orderedlayout/AbstractOrderedLayoutConnector.java +++ b/client/src/com/vaadin/client/ui/orderedlayout/AbstractOrderedLayoutConnector.java @@ -410,15 +410,15 @@ public abstract class AbstractOrderedLayoutConnector extends boolean allChildrenHasVerticalAlignmentCenterOrBottom = hasVerticalAlignment .size() == getChildren().size(); boolean hasChildrenWithRelativeHeight = !hasRelativeHeight.isEmpty(); - - if(isVertical){ + + if (isVertical) { return false; } - - else if(!isUndefinedHeight()){ + + else if (!isUndefinedHeight()) { return false; } - + else if (!hasChildrenWithRelativeHeight) { return false; } @@ -513,7 +513,7 @@ public abstract class AbstractOrderedLayoutConnector extends private void updateLayoutHeight() { if (needsFixedHeight()) { int h = getMaxHeight(); - assert(h >= 0); + assert (h >= 0); h += getLayoutManager().getBorderHeight(getWidget().getElement()) + getLayoutManager().getPaddingHeight( getWidget().getElement()); |