Hi Alex,

Have you tried myTree.setOverflow('scroll') or myTree.setOverflow('auto')?
I haven't used trees in popup windows, but a tree inside a vertical box
adapts well to the size of the browser window.


alex.d wrote:
> 
> Hi dperez,
> 
> Treefullcontrol is flexible, but it resizes the window(if it is in one) 
> with it. And i want the tree to be flexible(vertical) but only within 
> the window, so that you can resize the window and the tree will go with. 
> The Problem is: even if the window has absolute width und height, it is 
> always resized by the tree content. You can add an extra 
> verticalboxlayout between tree and window and give this box absolute 
> dimensions, but than the tree doesn't resize itself with the window. 
> That's bloody vicious circle...
> 
> Cheers,
> alex.d
>> No, the tree layout supports any size.
>> Place the TreeFullControl inside a VerticalBoxLaout and use flex units:
>>
>> myTree.setHeight('1*');
>>
>>
>>
>> Derrell.Lipman wrote:
>>   
>>> Alex, I believe this is a commonly-discussed deficiency in the currently
>>> layout
>>> system.  The tree widgets (and, I believe, many others) must have their
>>> size
>>> fixed.
>>>
>>> You should be able to catch an event on the window ("ONAPPEAR"?) and
>>> resize
>>> the tree based on the size of the window.  I haven't yet tried this, but
>>> I
>>> expect to be working with it some time soon.
>>>
>>>     
>>
>>   
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 

-- 
View this message in context: 
http://www.nabble.com/TreeFullControl-question%3A-tf2409268.html#a6738137
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to