From: Artur Signell Date: Tue, 10 Apr 2012 08:16:15 +0000 (+0300) Subject: Fixed problem with captions always being in the top left corner X-Git-Tag: 7.0.0.alpha2~105 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=105d563f6622256d00d580dc52cc302e7c810e56;p=vaadin-framework.git Fixed problem with captions always being in the top left corner --- 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();