Welcome Guest Search | Active Topics | Sign In | Register

TreeView fixed width Options
THoMaSiN
Posted: Thursday, December 13, 2007 8:02:52 AM
Rank: Member
Groups: Member

Joined: 12/5/2007
Posts: 27
Hi, I'm trying to have a TreeView control which grows vertically as the nodes are added, but the width is fixed and it doesn't show scroll bars. Is that possible?

I've been playing with the width properties, but the percentage doesn't work (it would be ideal if it adjusted to the page with a percentage) and the fixed number of pixel doesn't maintain the control at that width either.

thanks for your help !!
eo_support
Posted: Thursday, December 13, 2007 8:14:55 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You can try to set the TreeView's AutoScroll to False. That way the TreeView will never display scroll bars. However it does not fix the width for you. So the TreeView may expand both horizontally and vertically.

Thanks
THoMaSiN
Posted: Thursday, December 13, 2007 8:28:30 AM
Rank: Member
Groups: Member

Joined: 12/5/2007
Posts: 27
Yeah,

That's what i was doing, but It didn't make much sense to me having the feature of showing the auto tooltip when the text is greater than the object if when the text is greater:

-- you have the scroll bar or (you can see it)
-- the control has grown enough. (you can see it too!!)

It would be good if when the auto scroll is false there would be an option Max-Width with will set the maximum gorwth of the component to that value (much better if that value can be a percentage as well).

it would also be good to have a more intuitive idea of how to set the limits of the control. To me, the control not only hasn't solved, but has also propagated the big HTML problems of sizing and re-sizing and since the high quality of the essential objects; that might be a feature to consider.

just that , thanks !! Anxious
eo_support
Posted: Thursday, December 13, 2007 8:35:16 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Thanks for your feedback!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.