diff options
author | Maciej Przepióra <matthew@vaadin.com> | 2014-03-24 22:13:48 +0200 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2014-03-25 06:30:20 +0000 |
commit | a14eccdb97f486a6b451b671f1a0ab433629dec9 (patch) | |
tree | d3ba82cec18d688cf7611c364b4524aeb85333de | |
parent | aee5bc2409032de94a7f926c7fd9b0b7591c3138 (diff) | |
download | vaadin-framework-a14eccdb97f486a6b451b671f1a0ab433629dec9.tar.gz vaadin-framework-a14eccdb97f486a6b451b671f1a0ab433629dec9.zip |
Return border sizes from border methods in MeasuredSize (#13494)
Change-Id: I9eee3cb897fcb00beb2b2877dd98337623e2cf5b
-rw-r--r-- | client/src/com/vaadin/client/MeasuredSize.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client/src/com/vaadin/client/MeasuredSize.java b/client/src/com/vaadin/client/MeasuredSize.java index 51da8570e6..bc6ef789d0 100644 --- a/client/src/com/vaadin/client/MeasuredSize.java +++ b/client/src/com/vaadin/client/MeasuredSize.java @@ -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() { |