Actual height of a TOC

327
0
07-28-2011 09:06 AM
MarkusEichhorn
New Contributor II
Hey everbody,
maybe it's a simple question, but I don't get it at the moment.
I wanna display a TOC in a widget. Below the TOC-object (it's a modified esri TOC-object  extends Tree) I want to display different other things (VBoxes and stuff). And I want the VerticalScollBar going over all the widget, not going just over the TOC. So the Vbox should be placed always at the end of the TOC, which height must be flexible. Of course I can set the verticalScrollPolicy="off", but still I just get the initial height of the TOC, none which depends on the number of expanded items.

So how can I get the actual size of the expanded items of the TOC to place the folloing gui stuff below? I don't find anything in the doku up to now.

Thanks for any help and suggestions!
Markus
Tags (2)
0 Kudos
0 Replies