summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorJohannes Dahlström <johannesd@vaadin.com>2015-06-11 14:16:47 +0300
committerJohannes Dahlström <johannesd@vaadin.com>2015-06-11 15:47:42 +0300
commit5518f840da8ee64a075a9f3f6ae4333ae43a2322 (patch)
treec17b72eac67faf5011849bbf2ced45e5f7fd0953 /shared
parent3cad84dfd49756eca5c62d08eb137c7cae36f006 (diff)
downloadvaadin-framework-5518f840da8ee64a075a9f3f6ae4333ae43a2322.tar.gz
vaadin-framework-5518f840da8ee64a075a9f3f6ae4333ae43a2322.zip
Fix declarative margin reading in AbstractOrderedLayout (#18229)
Change-Id: Ia212d83568e4f0c891ec1a248b6d8567c0cf0095
Diffstat (limited to 'shared')
-rw-r--r--shared/src/com/vaadin/shared/ui/MarginInfo.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/shared/src/com/vaadin/shared/ui/MarginInfo.java b/shared/src/com/vaadin/shared/ui/MarginInfo.java
index 7119ce2f90..a8979b36cf 100644
--- a/shared/src/com/vaadin/shared/ui/MarginInfo.java
+++ b/shared/src/com/vaadin/shared/ui/MarginInfo.java
@@ -182,4 +182,10 @@ public class MarginInfo implements Serializable {
return bitMask;
}
+ @Override
+ public String toString() {
+ return "MarginInfo(" + hasTop() + ", " + hasRight() + ", "
+ + hasBottom() + ", " + hasLeft() + ")";
+
+ }
}