• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Autohiding scrollers/determining visibility
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Autohiding scrollers/determining visibility


  • Subject: Re: Autohiding scrollers/determining visibility
  • From: Francisco Tolmasky <email@hidden>
  • Date: Thu, 15 Jan 2004 13:55:45 -0800

What I would do is check the size of the clip view and compare it to the total size of the scroll view.

Something along the lines of

if([[scrollView contentView] frame].size.width<[scrollView frame].size.width)
NSLog(@"Has Scroll View");
else NSLog(@"Does not have scroll view");


On Jan 15, 2004, at 11:33 AM, email@hidden wrote:

Autohiding
Francisco Tolmasky
email@hidden
http://users.adelphia.net/~ftolmasky
_______________________________________________
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.

  • Prev by Date: Re: Autohiding scrollers/determining visibility
  • Next by Date: Canceling a pop-up menu?
  • Previous by thread: Re: Autohiding scrollers/determining visibility
  • Next by thread: NSView bug?
  • Index(es):
    • Date
    • Thread