I would like to make a class (Horizontal3) which could split a container to three parts with splitpane. I would like to pass to its constructor the widgets to show in the three separate places. But I can't figure out a proper combination of settings (flex, width, minwidth etc.) for the wanted behavior of the splitpanes resizings.
Now I have a splitpane inside another splitpane. My code looks like something: <code> qx.Class.define("custom.Horizontal3", { extend : qx.ui.container.Composite, construct: function(props){ this.base(arguments); this.setLayout(new qx.ui.layout.HBox()); var split1 = new qx.ui.splitpane.Pane("horizontal").set({decorator: null}); var split2 = new qx.ui.splitpane.Pane("horizontal").set({decorator: null}); horizontalFrame = new Array; for (i=1; i<4; i++) { horizontalFrame[i] = new qx.ui.container.Composite(new qx.ui.layout.HBox()).set({ decorator: "main", width: 200, minWidth: 150, maxWidth: 330 }); } split1.add(horizontalFrame[1], 0); split1.add(split2, 1); split2.add(horizontalFrame[2], 0); split2.add(horizontalFrame[3], 1); this.add(split1, {flex: 1}); } }); </code> Maybe somebody had this goal before and could help me. Thanks -- View this message in context: http://n2.nabble.com/divide-to-three-parts-with-splitpane-tp4197500p4197500.html Sent from the qooxdoo mailing list archive at Nabble.com. ------------------------------------------------------------------------------ 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 qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel