Autohiding scrollers/determining visibility
Autohiding scrollers/determining visibility
- Subject: Autohiding scrollers/determining visibility
- From: Josh Anon <email@hidden>
- Date: Thu, 15 Jan 2004 11:02:45 -0800
Hi everyone,
Here's an interesting one. If I have a scroll view, and I set it to
autohide its scrollers, how can I determine if the scroller is visible
or not? Here's what I've found:
1. hasHorizontal/VertcalScroller will return yes, even if it's not
visible
2. Sometimes the scroller's frame origin will be < 0 or > scroll view
width, which works to determine visibility
3. Other times (when not visible), the scroller's width will be
significantly less than the scroll view width, but sometimes it will
only be a few pixels less.
Is there a definitive way to determine visibility?
Thanks,
Josh
---
Josh Anon
Studio Tools, Pixar Animation Studios
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.