macOS TreeView display issues
woollybah opened this issue · 2 comments
On the newer macOSs, there is a problem correctly displaying the contents of a TreeView, namely by truncating the text of wider columns.
This is most apparent in MaxIDE when you open/close a node, but is reproducible quite easily in a small example.
Enabling the view header shows that the column is changing in size, but it doesn't seem to know what is the maximum width from all the visible nodes.
It might be related to :
maxgui.mod/cocoamaxgui.mod/cocoa.macos.m
Line 1416 in 8139a3a
It seems that it was indeed the issue. The "set min width to 0 then resize" thing wasn't working so well on current versions of macOS, so for now we aren't resetting minwidth of the column on each node change.
MaxIDE works better now.