开发者

How to change NSScroller length

开发者 https://www.devze.com 2023-04-02 11:20 出处:网络
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 NSRec

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

精彩评论

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