Question

I'm trying to show a list in a view based NSOutlineView in an NSPopover. When showing the list, it results in something like this:

enter image description here

That's not what I set up in IB:

enter image description here

I'm using a standard non-subclassed NSTableCellView with an NSImageView and an NSTextField as set up for me by IB.

Do you have any idea what could be causing this? I tried reloadData in awakeFromNib. That fixed the first loading, but as I scroll down, the cells are offset again.

Was it helpful?

Solution

Oh well, turns out turning off Autolayout fixed this.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top