问题描述
如何在Interface Builder 3.2.1中创建NSImageCell单元格(通常位于NSImageView中)的矩阵(NSMatrix对象)(即为Snow Leopard制作的?)
How can I create a matrix (NSMatrix object) of NSImageCell cells (usually located in an NSImageView) in Interface Builder 3.2.1 (i.e. the one made for Snow Leopard?)
在旧时代中,您将拖动NSImageView,然后按住Option键拖动控件的一角。它似乎已经停止在3.2.1中工作......还有另外一种方法吗?我做错了吗?
In the "old days", you would drag an NSImageView, and then option-drag the corner of the control. It seemed to have stopped working in 3.2.1... Is there another way? Am I doing something wrong?
推荐答案
只需拖动 NSImageView的实例
进入你对IB的看法。选择它,然后选择布局>在>中嵌入对象来自IB菜单的Matrix
。
Just drag an instance of NSImageView
into your view in IB. Select it and then choose Layout > Embed Objects In > Matrix
from IB's menu.
这篇关于如何在10.6中的Interface Builder中创建NSImageCell的NSMatrix的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!