Determine smallest height of vertical scrollbar
Determine smallest height of vertical scrollbar
- Subject: Determine smallest height of vertical scrollbar
- From: Eric Gorr <email@hidden>
- Date: Thu, 18 Feb 2010 11:55:07 -0500
Other then creating a dummy NSScoller 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.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden