• 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
NSBrowser "smearing"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSBrowser "smearing"


  • Subject: NSBrowser "smearing"
  • From: Andrew Farmer <email@hidden>
  • Date: Fri, 14 Jan 2005 23:11:11 -0800

I haven't worked much with NSBrowsers before, so I could be doing something wrong, but setting a simple NSBrowser I'm working with to be user-resizable causes some seriously WEIRD scrolling behaviour - everything seems to get blurred and shifted to the right one pixel or so every time the scroll knob moves.

Turning off user-resizable columns makes it work perfectly, but that's not what I want. Also, the first column works just fine. Go figure.

I've got my NSBrowser delegate attached. The .nib is unremarkable.

I've got a screenshot up at < http://tinypic.com/196pp0 >. Note in particular the "bent" scrollbar knobs in the second and third columns.

Anyone know what I'm doing wrong here? Or is this a genuine bug?


<<< BrowserSource.m >>>

#import "BrowserSource.h"   // yes, we have no instance variables

@implementation BrowserSource

- (int)browser:(NSBrowser *)sender
		numberOfRowsInColumn:(int)column
{
	return 64;
}

- (void)browser:(NSBrowser *)sender
		willDisplayCell:(id)cell
		atRow:(int)row
		column:(int)column
{
	[cell setTitle:[NSString stringWithFormat:@"%d:%d", column, row]];
	[cell setLeaf:NO];
}

@end

Attachment: PGP.sig
Description: This is a digitally signed message part

 _______________________________________________
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: NSBrowser "smearing"
      • From: Manfred Schwind <email@hidden>
  • Prev by Date: Bur Reporter question
  • Next by Date: Binding NSTableView to an object's instance variables
  • Previous by thread: Re: Bur Reporter question
  • Next by thread: Re: NSBrowser "smearing"
  • Index(es):
    • Date
    • Thread