Add "fill:true" to the BoxPane's styles and set 
verticalScrollBarPolicy="fill_to_capacity" instead of "fill".

On May 4, 2010, at 9:34 AM, [email protected] wrote:

> That desn't help.
> I also tried
> <ScrollPane horizontalScrollBarPolicy="fill" verticalScrollBarPolicy="fill">
> but the tree remains unscrollable. If I expand enough branches the contents 
> just run out of my window bounds...
> 
> On Tue, May 4, 2010 at 1:48 PM, Greg Brown <[email protected]> wrote:
>> Try adding "fill:true" to the box pane's styles.
>> 
>> On May 4, 2010, at 6:00 AM, [email protected] wrote:
>> 
>>> Hi again ;)
>>> 
>>> My TreeView needs a ScrollPane. It works if I have only one scrollPane and 
>>> put the tree into the scrollpane. But if I have a BoxPane and put the 
>>> ScrollPane with the Tree into the BoxPane the scrolling doesn't work 
>>> anymore.
>>> 
>>> Example does not work:
>>> <content>
>>>    <BoxPane wtkx:id="boxPane" orientation="vertical" styles="{padding:4, 
>>> verticalAlignment:'top'}" >
>>>       <FlowPane wtkx:id="flowPane" styles="{padding:4}">
>>>               <!-- snip -->
>>>       </FlowPane>
>>>       <ScrollPane horizontalScrollBarPolicy="fill" 
>>> verticalScrollBarPolicy="fill">
>>>                       <view>
>>>                         <TreeView wtkx:id="treeView">
>>>                         <!-- snip -->
>>>                         </TreeView>
>>>                       </view>
>>>               </ScrollPane>
>>>    </BoxPane>
>>> <content>
>>> 
>>> Example does work:
>>> <content>
>>>       <ScrollPane horizontalScrollBarPolicy="fill" 
>>> verticalScrollBarPolicy="fill">
>>>               <view>
>>>                 <TreeView wtkx:id="treeView">
>>>                 <!-- snip -->
>>>                 </TreeView>
>>>               </view>
>>>       </ScrollPane>
>>> <content>
>>> 
>>> --
>>> GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
>>> Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
>> 
> 
> -- 
> GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
> Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

Reply via email to