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

Reply via email to