]> source.dussan.org Git - vaadin-framework.git/commitdiff
-
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Thu, 9 Aug 2007 06:53:37 +0000 (06:53 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Thu, 9 Aug 2007 06:53:37 +0000 (06:53 +0000)
svn changeset:1971/svn branch:trunk

src/com/itmill/toolkit/terminal/gwt/client/ui/IOrderedLayout.java

index f3b0f2bb635312d6c023bae9f113dde6a72c398d..2b69c68721c401c43aaaef65920587b6d7add910 100644 (file)
@@ -38,14 +38,13 @@ public class IOrderedLayout extends ComplexPanel implements Paintable, Layout {
        private Element childContainer;
        
        public IOrderedLayout() {
-               orientationMode = ORIENTATION_VERTICAL;
-               constructDOM();
-               setStyleName(CLASSNAME);
+               this(ORIENTATION_VERTICAL);
        }
 
        public IOrderedLayout(int orientation) {
                orientationMode = orientation;
                constructDOM();
+               setStyleName(CLASSNAME);
        }
        
        private void constructDOM() {