]> source.dussan.org Git - vaadin-framework.git/commitdiff
Description should be appended AFTER the legend not before. #3725
authorJohn Alhroos <john.ahlroos@itmill.com>
Thu, 6 Oct 2011 13:28:48 +0000 (13:28 +0000)
committerJohn Alhroos <john.ahlroos@itmill.com>
Thu, 6 Oct 2011 13:28:48 +0000 (13:28 +0000)
svn changeset:21606/svn branch:6.7

src/com/vaadin/terminal/gwt/client/ui/VForm.java

index 8b682d65d1a7c85734bdb53f2e4054bc3794e838..cabe691a3e4e85b5c034cda855319f66970b3afe 100644 (file)
@@ -131,7 +131,7 @@ public class VForm extends ComplexPanel implements Container, KeyDownHandler {
         if (uidl.hasAttribute("description")) {\r
             desc.setInnerHTML(uidl.getStringAttribute("description"));\r
             if (desc.getParentElement() == null) {\r
-                fieldSet.insertFirst(desc);\r
+                fieldSet.insertAfter(desc, legend);\r
             }\r
         } else {\r
             desc.setInnerHTML("");\r