Search code examples
objective-ccocoapositionnstableviewnstablecellview

set NSButton position inside NSTableView to center programmatically


Is it possible to set the "position" value (see image below) programmatically instead of using IB? I would need to set it like the one in the image. I've been searching for a solution for a while now without luck.

POSITION


Solution

  • I believe that setting applies to button images and corresponds to imagePosition property of NSButton