Comment by andimullaraj:

Hi, this snipet

        public void onModuleLoad() {
                RootLayoutPanel rp = RootLayoutPanel.get();

                TextBox tb = new TextBox();
                rp.add(tb);
                rp.setWidgetTopHeight(tb, 0.0, Unit.PX, 50.0, Unit.PX);
                rp.setWidgetLeftRight(tb, 0.0, Unit.PX, 400.0, Unit.PX);

                tb = new TextBox();
                rp.add(tb);
                rp.setWidgetTopHeight(tb, 100.0, Unit.PX, 50.0, Unit.PX);
                rp.setWidgetLeftRight(tb, 0.0, Unit.PX, 50, Unit.PCT);
        }

works fine in crome, and safari. In FF looks like the autosizing kicks in only when it comes to shorten the textbox' width. In IE6.0 the texbox' shows height 0


For more information:
http://code.google.com/p/google-web-toolkit/wiki/LayoutDesign

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to