07-23-2015, 11:11 AM
There is indeed an issue with the width of the internal column in the hierarchical view widget (on Mac, our HierarchicalView class is a specialization of the HierarchicalColumnView class, under the hood). However, this can be worked around using a different constructor (which is why I wasn't able to reproduce the problem at first, as we were using different constructors).
You are using the HierarchicalView constructor that does not take an argument for the entries. As such, it does not know how wide to make the internal column, so some default width is applied. When you set the entries later, that internal width is still being used.
If you switch to using the HierarchicalView constructor that takes an argument for the entries (and another argument for the initially selected entry, if needed), then the problem goes away. This is because it knows how wide to make the internal column. For now, use this constructor. I will fix the problem with the internal column width for our 0.6.0 release.
Thanks!
You are using the HierarchicalView constructor that does not take an argument for the entries. As such, it does not know how wide to make the internal column, so some default width is applied. When you set the entries later, that internal width is still being used.
If you switch to using the HierarchicalView constructor that takes an argument for the entries (and another argument for the initially selected entry, if needed), then the problem goes away. This is because it knows how wide to make the internal column. For now, use this constructor. I will fix the problem with the internal column width for our 0.6.0 release.
Thanks!