Sorry if I misread your question. I don't know anything about making custom
layouts. I have always used combinations of composites and gone on my
merry way! I am just curious though, are you trying to make a new layout so
that it is more efficient? smaller in size? Other reasons?
tom
Jurij Bilas wrote:
>
> Yeah, this is similar to what I've come up with.
> Is there any way to get it done without composites, just by using layouts?
> Is it difficult to write a new layout like this?
> Can layouts be enclosed in one another?
> I either didn't search hard enough, or qooxdoo docs don't provide enough
> info on custom layouts (probably the former).
>
> tsmiller wrote:
>> 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
>>>
>>>
>>>
>>
>>
>
>
> ------------------------------------------------------------------------------
> 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-tp26383829p26392360.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