Corbin, Please take a look at the bug with ID 6677201 and also feel free to check out the email I sent you yesterday. Stay in touch.
Meanwhile, I rather like Chris' approach because it works :) Thanks, U ---------------------------------------- > From: corb...@apple.com > Date: Thu, 12 Mar 2009 16:06:11 -0700 > To: csu...@sutes.co.uk > CC: cocoa-dev@lists.apple.com > Subject: Re: NSTableView live resizing glitch > > > On Mar 12, 2009, at 3:50 PM, Chris Suter wrote: > >> Hi Ulai, >> >> On Fri, Mar 13, 2009 at 9:33 AM, Ulai Beekam >> wrote: >> >>> I'm having an NSTableView live resizing glitch that is driving me >>> nuts. Please see this image: >>> >>> >>> http://img15.imageshack.us/img15/2012/picture1tcz.png >>> >>> >>> I really need to have the column width independent of the table >>> view's size, so it is not an option to have the column resize with >>> the table. >>> >>> >>> But here is the strangest thing of all: This glitch appears only >>> when the table view's focus ring is set to None. The glitch goes >>> away if the focus ring is set to default! >>> >>> >>> Any ideas on how to fix this live resizing glitch would be greatly >>> appreciated. >> >> >> I've worked around similar issues in some code I wrote. Try >> subclassing NSTableView and then in the tile method, after calling >> [super tile], do this: >> >> [[self headerView] setNeedsDisplay:YES]; > > That's doing too much redraw work :) -- you can introduce performance > problems by calling setNeedsDisplay: too often. Please do log bugs > when you run into these issues. > > I think there may be an off-by-one issue in the OS that Ulai is using. > I would need a proper bug report with system information to validate > that. If my first suggestion doesn't fix it, then redrawing the last > rect with a setNeedsDisplayInRect: via -tile will work, so your work > around is a good suggestion (with a slight mod to not redraw the whole > thing). > > corbin > > > > > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > 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: > http://lists.apple.com/mailman/options/cocoa-dev/ulaibeekam%40hotmail.com > > This email sent to ulaibee...@hotmail.com _________________________________________________________________ Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com