I would do this. It gives three equal columns. Each column is a VBox.
var hBox = new qx.ui.container.Composite( new qx.ui.layout.HBox()
);
var vBox1 = new qx.ui.container.Composite( new
qx.ui.layout.VBox().set({alignY:"top"})).set({backgroundColor:"yellow"});
var vBox2 = new qx.ui.container.Composite( new
qx.ui.layout.VBox().set({alignY:"middle"})).set({backgroundColor:"orange"});
var vBox3 = new qx.ui.container.Composite( new
qx.ui.layout.VBox().set({alignY:"bottom"})).set({backgroundColor:"green"});
vBox1.add( new qx.ui.basic.Atom("I am the yellow vBox") );
vBox2.add( new qx.ui.basic.Atom("I am the orange vBox") );
vBox3.add( new qx.ui.basic.Atom("I am the green vBox") );
hBox.add( vBox1, {flex:1} )
hBox.add( vBox2, {flex:1} )
hBox.add( vBox3, {flex:1} )
app.getRoot().add( hBox, {edge:20} );
tom
Jurij Bilas wrote:
>
> Hi all,
> I'm new to qooxdoo, having spent only a couple of days playing around,
> so bear with me if my question seems dumb or trivial.
> How would I go about creating a layout with two (or 3,4,...) columns
> where each one is a VBox?
> For now the only solution I see is to create a composite with Grid
> layout, than add multiple composites with VBox.
> Thanks!
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
--
View this message in context:
http://old.nabble.com/layout-question-tp26383829p26383996.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel