I know BoundTreeView and BoundTreeNode aren’t Wisej controls. Nevertheless I need help figuring out what’s going on.
When the bound TreeView is first drawn, everything is all right. Then I have 2 issues:
I make sure all TreeNode are disposed by:
Interesting enough, if I use Nodes.Clear() instead of Nodes.Clear(true) on TreeView, the issue 2. doesn’t show. And if I keep clicking on Refresh, sometimes the child nodes get closer again and then get a bigger margin again.
As usual I attach a WinForms / Wisej sample.
P. S. – I’m using 1.3.82 but the problem existed also on the previous release.
Great catch. The size problem is caused by the png icons “pushing” out. The size in the theme is 16×16 which works fine the first time the nodes are loaded. When the nodes are updated/replaced, the code in the widget fails to enforce the icon size. Will log the bug shortly.
The other error is a client side error that I haven’t tracked down yet. It appears that the client widget is trying to display nodes without an element since they have been disposed. This is a bug too.
Please login first to submit.