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.
長さを変更する API はありますか?scrollerサブクラス化せずに同じことをしたいと思いNSScrollerます。
scroller
NSScroller
NSScroller (NSView のサブクラスとして) には、NSRect を受け取る setFrame: メソッドがあります。適切な幅または高さを渡して、コントロールの長さを設定します。