Harsh
Harsh

Reputation: 666

NSTableView weird issue

I have implemented viewbased NSTableView. When i scroll downwards, lines are drawn at the bottom of the NSTableView. Even the text of the buttons which are not the part of NSTableView get darker. I removed the NSTableView Datasource method and buttons' texts are fine, but still lines are drawn at the bottom of the NSTableView.

I do not know weather these two things are connected. I would greatly appreciate your help. Thanks.enter image description here

Upvotes: 1

Views: 535

Answers (1)

hamstergene
hamstergene

Reputation: 24439

This is general problem of NSScrollView, inside which lies your table view.

If table view's enclosing scroll view drawsBackground property is NO, uncheck Copy On Scroll too.

If the scroll view is overlapped by other views, either enable Core Animation layer on that views or eliminate overlapping.

Upvotes: 3

Related Questions