]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixed problem with captions always being in the top left corner
authorArtur Signell <artur@vaadin.com>
Tue, 10 Apr 2012 08:16:15 +0000 (11:16 +0300)
committerArtur Signell <artur@vaadin.com>
Tue, 10 Apr 2012 08:16:15 +0000 (11:16 +0300)
src/com/vaadin/terminal/gwt/client/ui/AbsoluteLayoutConnector.java

index 6a911fc321fb789282f678da5ef9bd5bffe86ff2..7e1683934c69d4a4147aab6b9db1932cf5127cbe 100644 (file)
@@ -103,6 +103,7 @@ public class AbsoluteLayoutConnector extends
             if (caption == null) {
                 caption = new VCaption(component, getConnection());
                 absoluteLayoutWidget.add(caption);
+                componentWrapper.setCaption(caption);
             }
             caption.updateCaption();
             componentWrapper.updateCaptionPosition();