Disable NSVisualEffectView in Source List NSTableView

后端 未结 2 551
清歌不尽
清歌不尽 2021-01-13 13:49

I have an older application that has a specific appearance based on NSCell-based NSTableView having Source List highlighting. Unfortunately, on Yosemite this adds the NSVisu

2条回答
  •  温柔的废话
    2021-01-13 14:35

    You need to change table view appearance from NSAppearanceNameVibrantLight to NSAppearanceNameAqua. If you're targeting OS X 10.8 or earlier try setting the appearance by editing XIB file directly:

    
    

    Also make sure that table view background color is set to Default in IB.

提交回复
热议问题