From aa88a0042cb141e71a6a07c965f818675a8adf4d Mon Sep 17 00:00:00 2001 From: John Alhroos Date: Thu, 6 Oct 2011 13:28:48 +0000 Subject: [PATCH] Description should be appended AFTER the legend not before. #3725 svn changeset:21606/svn branch:6.7 --- src/com/vaadin/terminal/gwt/client/ui/VForm.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(""); -- 2.39.5