• 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: NSScrollView, NSTableView and NSSplitView Glitch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSScrollView, NSTableView and NSSplitView Glitch


  • Subject: Re: NSScrollView, NSTableView and NSSplitView Glitch
  • From: Dave Keck <email@hidden>
  • Date: Sat, 23 May 2009 20:20:26 -1000

Hello,

I would try creating a subclass of NSScrollView, and figure out under
what conditions the NSScrollView feels that it needs to display the
vertical scroller. Perhaps the solution is as simple as overriding
-hasVerticalScroller to always return NO. So in your NSScrollView
subclass, I would start off with:

- (BOOL)hasVerticalScroller
{
    BOOL result = [super hasVerticalScroller];
    NSLog(@"%d");
    return NO;
}

and see if that A) solves your issue (I doubt it...) and B) if not,
hopefully that will print YES intermittently when the vertical
scroller is visible (then you can set a breakpoint when it returns
YES, etc...) Also, captain obvious is wondering: you did uncheck 'Show
Vertical Scroller' in IB, right?

Oh, and could you supply your sample project?

David
_______________________________________________

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

  • Follow-Ups:
    • RE: NSScrollView, NSTableView and NSSplitView Glitch
      • From: Ulai Beekam <email@hidden>
References: 
 >NSScrollView, NSTableView and NSSplitView Glitch (From: Ulai Beekam <email@hidden>)

  • Prev by Date: NSScrollView, NSTableView and NSSplitView Glitch
  • Next by Date: Re: which temp dir to use?
  • Previous by thread: NSScrollView, NSTableView and NSSplitView Glitch
  • Next by thread: RE: NSScrollView, NSTableView and NSSplitView Glitch
  • Index(es):
    • Date
    • Thread