View Full Version : TreePanel indenting is hardcoded, cannot be overridden

17 Sep 2010, 2:25 AM

In TreePanelView there is no way to change the amount of indenting for each level of the tree. This is permanently set to 18px and hardcoded in the style attribute of the spacer image for each row of the control.

Could this be refactored to allow for control over the indentation? Not really a bug, but it is bad practice.


17 Sep 2010, 2:34 AM
As you already mentioned, this is not really a bug. We can probably add a method which you can easier override, because as of now, you need to change the hole template. But it is still possible.

17 Sep 2010, 4:29 AM
Change for this is in SVN as of revision 2235.