yolo
yolo

Reputation: 2795

Enable scrolling for NSTableView

I've added a NSTableView in a NSScrollView IB in Xcode 4. Its controller class is displaying data whose horizontal length exceeds its row width. However, no horizontal scroll bars appear, so do we have to enable them?

(the table only has one column with no headers)

Upvotes: 2

Views: 1984

Answers (1)

tlindner
tlindner

Reputation: 382

The data width is not the determining factor if horizontal scrolling will be enabled. You need to ensure the NSTableColumn is wider that the NSTableView for horizontal scrolling to be enabled.

Upvotes: 4

Related Questions