如何将工具栏添加到NSTableView的底部? [英] How do you add a toolbar to the bottom of an NSTableView?

查看:170
本文介绍了如何将工具栏添加到NSTableView的底部?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

检查下面的图片,我如何添加这种类型的栏到我自己的NSTableViews?其他用途是在网络偏好应用程序。

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?


推荐答案

我不认为有任何魔术。

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

它看起来像一组渐变风格 NSButtons 放置在表视图下面。 样式中的 NSSegmentedControl 也可以使用。

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

这篇关于如何将工具栏添加到NSTableView的底部?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆