Try this:
http://demo.qooxdoo.org/current/playground/#%7B%22code%22%3A%20%22var%2520container%2520%253D%2520new%2520qx.ui.container.Composite%28new%2520qx.ui.layout.VBox%285%29%29%253B%250Acontainer.setDecorator%28%27main%27%29%253B%250Avar%2520splitpane%2520%253D%2520new%2520qx.ui.splitpane.Pane%28%2522horizontal%2522%29%253B%250Asplitpane.set%28%257Bpadding%253A0%252C%2520decorator%253A%2520null%257D%29%253B%250Acontainer.add%28splitpane%29%253B%250Athis.getRoot%28%29.add%28container%252C%2520%257Bleft%253A%252040%252C%2520top%253A%252030%257D%29%253B%250A%250Avar%2520splitpane2%2520%253D%2520new%2520qx.ui.splitpane.Pane%28%2522vertical%2522%29%253B%250Asplitpane2.set%28%257Bpadding%253A0%252C%2520decorator%253A%2520null%257D%29%253B%250A%250Avar%2520container1%2520%253D%2520new%2520qx.ui.container.Composite%28new%2520qx.ui.layout.VBox%285%29%29%253B%250Avar%2520container2%2520%253D%2520new%2520qx.ui.container.Composite%28new%2520qx.ui.layout.VBox%285%29%29%253B%250Avar%2520container
3%2520%253D%2520new%2520qx.ui.container.Composite%28new%2520qx.ui.layout.VBox%285%29%29%253B%250Acontainer1.set%28%257Bwidth%253A%2520100%252C%2520height%253A100%257D%29%253B%250Acontainer2.set%28%257Bwidth%253A%2520100%252C%2520height%253A100%257D%29%253B%250Acontainer3.set%28%257Bwidth%253A%2520100%252C%2520height%253A100%257D%29%253B%250Asplitpane.add%28container1%252C1%29%253B%250Asplitpane.add%28splitpane2%252C1%29%253B%250Asplitpane2.add%28container2%252C1%29%253B%250Asplitpane2.add%28container3%252C2%29%253B%22%7D
I am not sure if setting minHeight and height simultaneously works as
intended. Same for width.
If you would supply playground code examples, it would be easier to see
what's going on in.
Cheers,
Fritz
On Wed, 27 Jan 2010, [email protected] wrote:
HEre ist the code of my actual splitpane. the borders at top and bottom
to big too
qx.Class.define("makebiz.modules.home.Main", {
extend: qx.core.Object,
members :
{
getBaseLayout : function()
{
var splitpane_main = new
qx.ui.splitpane.Pane("horizontal");
var container_left = new qx.ui.container.Composite(new
qx.ui.layout.Grow).set({
maxWidth:460,
minWidth:100,
width:200,
decorator: "main"
});
var container_right = new qx.ui.container.Composite(new
qx.ui.layout.Grow).set({
decorator: "main"
});
splitpane_main.add(container_left, 0);
splitpane_main.add(container_right,1);
splitpane_main.add(this.getRightSplitpane());
return splitpane_main;
},
getRightSplitpane: function()
{
/* Rechten Bereich mit Splitpane teilen*/
var splitpane_right = new qx.ui.splitpane.Pane("vertical");
var container_righttop = new
qx.ui.container.Composite(new qx.ui.layout.Grow).set({
minHeight:100,
height:200,
decorator: "main"
});
var container_rightbottom = new
qx.ui.container.Composite(new qx.ui.layout.Grow).set({
minHeight:100,
decorator: "main"
});
splitpane_right.add(container_righttop, 0);
splitpane_right.add(container_rightbottom,1);
return(splitpane_right);
}
}
});
Try
splitpane.setDecorator(null);
(on all (sub)splitpanes) to remove the double border.
Cheers,
Fritz
On Wed, 27 Jan 2010, [email protected] wrote:
Hello,
i want to make a layout like for example thudnerbird.
I split the screen in two half and use a splitpane for this. then i
want to split vertical on the left to but then i cant size the main
splitpanes.
How can i fix this problem? i try to add the subsplitpane on the
right the inherite container but then its looks like a double border.
not very good:(
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
--
Oetiker+Partner AG tel: +41 62 775 9903 (direct)
Fritz Zaucker +41 62 775 9900 (switch board)
Aarweg 15 +41 79 675 0630 (mobile)
CH-4600 Olten fax: +41 62 775 9905
Schweiz web: www.oetiker.ch
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel