From 105d563f6622256d00d580dc52cc302e7c810e56 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Tue, 10 Apr 2012 11:16:15 +0300 Subject: [PATCH] Fixed problem with captions always being in the top left corner --- .../vaadin/terminal/gwt/client/ui/AbsoluteLayoutConnector.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/com/vaadin/terminal/gwt/client/ui/AbsoluteLayoutConnector.java b/src/com/vaadin/terminal/gwt/client/ui/AbsoluteLayoutConnector.java index 6a911fc321..7e1683934c 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/AbsoluteLayoutConnector.java +++ b/src/com/vaadin/terminal/gwt/client/ui/AbsoluteLayoutConnector.java @@ -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(); -- 2.39.5