i forgot to mention that max-width or max- height is not a solution for me... as the application runs in different screen resolutions. :)
This feature is not implemented in tree component.
The sizing of div components is way too hairy. Sometimes it'll take up 100% of parent size, other times 100% of contents. If you find a good howto on that stuff, please post it here.