Kenny Tilton wrote:
> Gaurav Jauhri wrote:
>
>> Hi,
>>
>> Can anyone tell me the equivalent of the following snippet in 0.8.
>> I am migrating my application from 0.7 to 0.8.
>> My table also uses columnmodel Resize property.
>>
>> var table = new qx.ui.tree.Tree();
>> table.setHeight('1*');
>>
>> According to the above lines, My table occupies all the height left in
>> the widget, it is added in.
>>
>> I also have another query, in 0.8 when i do not specify any height, only
>> the 1st 3 lines of the table appear, is there is any height hard coded
>> in the internal class?
>>
>
> What is the containing layout? I am new to QX, but in a vbox or hbox I use:
>
> this.add(my-widget, { flex: 1 });
>
> where the other widgets are added without a flex and default to 0, so
> my-widget gets all the rest.
>
> Note that this is true whatever class my-wdget is.
>
Thanks a lot Kenny.
The layout is VBox, I just have one problem.
It is working fine, but my Vbox is inside a Vsplitpane and when i add it
without giving any argument (like 0 or 1), the split pane is divided
equally but when i give 0 as one of the arguments then only the 1st 3
lines of the table appear which i do not want, rather i want that 5-6
rows should appear, but when i drag it down, the table extends(which is
what i wanted and its correct).
Is there is any way to change the count of rows from 3(which is by
default)to some other desired count.?
Thanks
Gaurav
PS:- I have not defined any height of my table widget
> hth, kenny
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you. Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel