]> source.dussan.org Git - vaadin-framework.git/commitdiff
#5152 AbsoluteLayout.ComponentPosition.getTopValue() returns the "right" value
authorHenri Sara <henri.sara@itmill.com>
Tue, 8 Jun 2010 06:15:00 +0000 (06:15 +0000)
committerHenri Sara <henri.sara@itmill.com>
Tue, 8 Jun 2010 06:15:00 +0000 (06:15 +0000)
svn changeset:13613/svn branch:6.3

src/com/vaadin/ui/AbsoluteLayout.java

index 56c3474091ae6a8fd1ca959e5d25a8defd181d55..2b15c8e7ce8421faf2a23531696828d6c946d294 100644 (file)
@@ -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();
         }
 
         /**