aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/vaadin/ui/AbsoluteLayout.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/vaadin/ui/AbsoluteLayout.java b/src/com/vaadin/ui/AbsoluteLayout.java
index 56c3474091..2b15c8e7ce 100644
--- a/src/com/vaadin/ui/AbsoluteLayout.java
+++ b/src/com/vaadin/ui/AbsoluteLayout.java
@@ -338,7 +338,7 @@ public class AbsoluteLayout extends AbstractLayout {
* @return The value of the 'top' CSS-attribute
*/
public float getTopValue() {
- return topValue == null ? 0 : rightValue.floatValue();
+ return topValue == null ? 0 : topValue.floatValue();
}
/**