Hi skar,

try setting the tabView's allowShrinkX property to false, that did it 
for me.


Regards,
Daniel

skar schrieb:
> Hi Daniel,
>> to accomplish this I guess you'd have to calculate the total height the 
>> table would need to display its content and then set the table widget's 
>> height to that value.
>> You can get the table's rowHeight and multiply that with the table 
>> model's rowCount, then add the table's headerCellHeight. If your table 
>> has a statusBar, you could access it through the table's _getChildren() 
>> method, get its height using the getSizeHint() method and add that as well.
>>
>> Only problem is, there's some empty space below the table's last row. I 
>> have no idea how or where its height is calculated or how to access it. 
>> I simply added another 24 pixels to the table height but YMMV.
>>   
> Thanks for the idea and the code snippet. I needed to use SetMinHeight
> instead of setHeight on the table so that the table's height grew and
> bounds also grew.
> 
> Now, if I add this table to a composite container with VBox layout which
> is inside a scroll container, then only the scroll's vscroll is active
> and entire table can be seen. However, I intend to use a tab container
> and when I have a TabView container inside the scroll and add the table
> to a tabview.Page and add this page to the TabView container, the
> table's bottom couldn't be seen.
> 
> In firebug, I got the following:
> 
>>>>> qx.core.Init.getApplication().table.getBounds()
>> Object left=0 top=0 width=1202 height=857
>>>>> qx.core.Init.getApplication().tab_page_container.getBounds()
>> Object left=0 top=0 width=1202 height=857
>>>>> qx.core.Init.getApplication().tab_container.getBounds()
>> Object left=0 top=0 width=1244 height=800
> Seems like the TabView container(this.tab_container ) doesn't increase
> in size when the tab page it has grows and the table's bottom 57 pixels
> aren't shown. Any idea on how to do it?
> 
> cheers,
> skar.
> 

------------------------------------------------------------------------------
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

Reply via email to