JHello,

i try this but the vertical auto resize dosent work

      var scroll = new qx.ui.container.Scroll();
      this.getRoot().add(scroll, {edge: 0});

      var container = new qx.ui.container.Composite(new 
qx.ui.layout.VBox(20)).set({
        padding: 0
      })
      scroll.add(container);








      // y-axis first, flex growing
      var dock = new qx.ui.layout.Dock();
      dock.setSort("y");

      var widget = (new qx.ui.container.Composite(dock)).set(
      {
        decorator: "main",
        backgroundColor: "yellow",
        height: 300,
        allowGrowX : true,
        allowGrowY : true
      });

      var w1 = new qx.ui.core.Widget().set({decorator: "main", 
backgroundColor: "red"});
      var w2 = new qx.ui.core.Widget().set({decorator: "main", 
backgroundColor: "blue"});
      var w3 = new qx.ui.core.Widget().set({decorator: "main", 
backgroundColor: "orange"});

      widget.add(w1, {edge:"north"});
      widget.add(w2, {edge:"center"});
      widget.add(w3, {edge:"south"});

      container.add(widget);


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to