开发者

NSScrollView doesn't work xcode 4

I made an nsscrollview in the interface builder of xcode 4 and i put buttons inside of it's view. The scrollview is clipping the content of the view instead of scrolling it. How come it won't s开发者_如何学Pythoncroll?


You'll need to:

  • Make sure the buttons are inside the scroll view's content view.

  • Make sure that the content view is large enough that it'll scroll. If it's the same size as the scroll view, or smaller, it won't scroll. A scroll view is meant to display a portion of a larger view; if the whole view is already displayed, there's no reason to do any scrolling.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜