开发者

How to determine smallest height of vertical scrollbar?

开发者 https://www.devze.com 2022-12-20 19:15 出处:网络
Other th开发者_如何学JAVAen creating a dummy NSScroller and incrementally decreasing it\'s height until usableParts returns 0, is there any easy way to determine what the minimum height of a vertical

Other th开发者_如何学JAVAen creating a dummy NSScroller and incrementally decreasing it's height until usableParts returns 0, is there any easy way to determine what the minimum height of a vertical scrollbar should be so that usableParts will not return NSNoScrollerParts?

What I need to be able to do is limit the height of my window based, in part, on whether or not a vertical scrollbar will have usable parts.

0

精彩评论

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

关注公众号