• 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
Flickering Scrollbar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Flickering Scrollbar


  • Subject: Flickering Scrollbar
  • From: Ben Lachman <email@hidden>
  • Date: Fri, 3 Mar 2006 15:10:15 -0500

Hey:

I'm working on a custom NSTextView and I'm having some issues with the scrollbar. I pulled a basic textview into IB and then set the custom class on it. The custom view draws fine and will scroll naturally if there is at least a couple lines of text that exceed the view rect. However when there is only about one line the scroll bar gets confused and flickers on and off as it auto hides and shows. It only flickers when you draw though, once you finish the event it will stay either on or off. It looks like the text container is resizing as the scroll is happening (the container is set to auto size with the view). Any ideas on what might cause such behavior and how I could correct it?

Thanks,

->Ben
--
"I'm so cool you could keep a side of meat in me for a month! I'm so hip I have trouble seeing over my pelvis!"


- Zaphod Beeblebrox, The Hitchhiker's Guide to the Galaxy

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Flickering Scrollbar [Resolved]
      • From: Ben Lachman <email@hidden>
  • Prev by Date: curious behavior of Conditionally Sets Enabled in NSTableView
  • Next by Date: Re: Accessing CoreData Sqlite db from outside Cocoa app
  • Previous by thread: Re: curious behavior of Conditionally Sets Enabled in NSTableView
  • Next by thread: Re: Flickering Scrollbar [Resolved]
  • Index(es):
    • Date
    • Thread