View View-Based NSOutlineView Objects

Is there a way to overlap cellviews in NSOutlineView ?

NSView do not have the clipToBounds property. I tried to enable the wantsLayer property to represent the cell and its supervisor, rowView, and then set the outlineView property to setIntercellSpacing:NSMakeSize(0.f, -10.f) , but the views are cropped to its borders.
I tried to overload the NSView visibleRect method and no result. How can I overlap cell views?

+4
source share

Source: https://habr.com/ru/post/1438355/


All Articles