On Fri, Oct 10, 2008 at 11:04 AM, Gaurav Jauhri <[EMAIL PROTECTED]>wrote:
> Thanks for your reply.
> I am sorry that i forgot to mention that i use 0.7 version and here there
> are no composite types available.
No problem. In 0.7, instead of a a Composite, you can use the
HorizontalBoxLayout and VerticalBoxLayout directly.
>> var page = new qx.ui.container.Composite(new qx.ui.layout.HBox(4));
>> var left = new qx.ui.container.Composite(new qx.ui.layout.VBox());
>> page.add(left, { flex : 1 });
>> var right = new qx.ui.container.Composite(new qx.ui.layout.VBox());
>> page.add(right, { flex : 1 });
>>
>
>From memory (it's been a while since I've done 0.7 work) that would map to
something like this:
var page = new qx.ui.layout.HorizontalBoxLayout();
page.setSpacing(4);
var left = new qx.ui.layout.VerticalBoxLayout();
left.setWidth(100); // your small-width left-side vbox
page.add(left);
var right = new qx.ui.layout.VerticalBoxLayout();
right.setWidth("1*"); // let this one take up the remaining space
page.add(right);
Does that accomplish what you're looking for?
Derrell
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel