David
David

Reputation: 11

Auto resizing NSBox

I have NSBox with NSTableView siting inside it. I have disabled the scrolling in the table and trying to auto resize the NSBox to mach the number of entries in NSTableView but don't know how to...any help?

Upvotes: 1

Views: 534

Answers (1)

Rob Keniger
Rob Keniger

Reputation: 46028

You can't do this automatically, you will need to write code that monitors the size of the table view and then resizes the box to match.

This sounds like an odd UI, what are you trying to achieve?

Upvotes: 0

Related Questions