How do you add a toolbar to the bottom of an NSTableView?

徘徊边缘 提交于 2019-11-29 02:55:18

问题


Check the following image, how can I add this kind of bar to my own NSTableViews? Other uses are in the network preferences app. What's the magic trick to make this work?


回答1:


I don't think there is any "magic trick." This is something you will have to implement yourself.

It looks like a group of Gradient style NSButtons placed below the table view. An NSSegmentedControl in Small Square style would work too.



来源:https://stackoverflow.com/questions/9621661/how-do-you-add-a-toolbar-to-the-bottom-of-an-nstableview

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!