From: John Alhroos Date: Thu, 6 Oct 2011 13:28:48 +0000 (+0000) Subject: Description should be appended AFTER the legend not before. #3725 X-Git-Tag: 6.7.1~51 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=aa88a0042cb141e71a6a07c965f818675a8adf4d;p=vaadin-framework.git Description should be appended AFTER the legend not before. #3725 svn changeset:21606/svn branch:6.7 --- diff --git a/src/com/vaadin/terminal/gwt/client/ui/VForm.java b/src/com/vaadin/terminal/gwt/client/ui/VForm.java index 8b682d65d1..cabe691a3e 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VForm.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VForm.java @@ -131,7 +131,7 @@ public class VForm extends ComplexPanel implements Container, KeyDownHandler { if (uidl.hasAttribute("description")) { desc.setInnerHTML(uidl.getStringAttribute("description")); if (desc.getParentElement() == null) { - fieldSet.insertFirst(desc); + fieldSet.insertAfter(desc, legend); } } else { desc.setInnerHTML("");