pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Brown <gkbr...@mac.com>
Subject Re: ScrollPane with TreeView in BoxPane
Date Tue, 04 May 2010 11:48:33 GMT
Try adding "fill:true" to the box pane's styles.

On May 4, 2010, at 6:00 AM, weisswurst@gmx.net 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


Mime
View raw message