summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorJohannes Dahlström <johannesd@vaadin.com>2015-06-11 14:16:47 +0300
committerVaadin Code Review <review@vaadin.com>2015-06-11 12:46:17 +0000
commite4d7e2d500d9bb966279a6b986f65316d6b5e3d4 (patch)
tree7508627bae08ec5b6e4f0baa32fa2aea37773974 /shared
parent61037a75a565828e1f6dd752347e82036182e489 (diff)
downloadvaadin-framework-e4d7e2d500d9bb966279a6b986f65316d6b5e3d4.tar.gz
vaadin-framework-e4d7e2d500d9bb966279a6b986f65316d6b5e3d4.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() + ")";
+
+ }
}