]> source.dussan.org Git - vaadin-framework.git/commitdiff
Return border sizes from border methods in MeasuredSize (#13494)
authorMaciej Przepióra <matthew@vaadin.com>
Mon, 24 Mar 2014 20:13:48 +0000 (22:13 +0200)
committerVaadin Code Review <review@vaadin.com>
Tue, 25 Mar 2014 10:26:07 +0000 (10:26 +0000)
Back ported from master
Merge: no

Change-Id: I9eee3cb897fcb00beb2b2877dd98337623e2cf5b

client/src/com/vaadin/client/MeasuredSize.java

index 51da8570e6056cf4dcb00d72f11c5ee75290b0fd..bc6ef789d096ed0915c6fced41bf2cdcb8db8e53 100644 (file)
@@ -153,19 +153,19 @@ public class MeasuredSize {
     }
 
     public int getBorderTop() {
-        return margins[0];
+        return borders[0];
     }
 
     public int getBorderRight() {
-        return margins[1];
+        return borders[1];
     }
 
     public int getBorderBottom() {
-        return margins[2];
+        return borders[2];
     }
 
     public int getBorderLeft() {
-        return margins[3];
+        return borders[3];
     }
 
     public int getPaddingTop() {