Menu

#2 On ClearTreeView scrollbars don't reset properly

open
nobody
API Bug (1)
5
2013-01-10
2011-08-14
Anonymous
No

Only tested on OSX Snow Leopard.
When you clear a treeview I would expect that also the scrollbars get reset, which is not the case.

An easy workaround:
* Get the root node of the treeview
* Set it's text to empty
* Collapse the root node
* Clear TreeView as normal

This is a hacky way, I know, although it should work across platforms.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.