开发者

How to change NSScroller length

Is there any api to change the scroller length, I would like to do the same without subclassi开发者_如何学Gong NSScroller.


NSScroller (as a subclass of NSView) has a setFrame: method that takes an NSRect. Pass in the appropriate width or height to set the length of your control.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜