Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 NSView(它包含几个文本框和按钮等)。
现在在 MAC OS X Lion 中引入了一种弹性效果,就像 iPhone 一样,例如 safari
我的问题是如何从我的 NSView 中消除这种弹性效果?
谢谢
选择NSScrollView并转到Attributes Inspector并从Automatic Elasticity更改为No Elasticity,如下所示:
NSScrollView