Re: Single column NSListView bug?
Re: Single column NSListView bug?
- Subject: Re: Single column NSListView bug?
- From: "Kevin" <email@hidden>
- Date: Sun, 2 Dec 2007 19:18:36 +0000
- Importance: Normal
- Sensitivity: Normal
Scott, I'm assuming your listview is either a NSTableView or an NSOutlineView.
I had a similar problem with a single-column NSOutlineView and I tracked it down to a supposed bug. The workaround is to override drawRect: and simply call [super drawRect:].
Give it a try.
Kevin
xhead software
Sent via BlackBerry by AT&T
-----Original Message-----
From: Scott Andrew <email@hidden>
Date: Sun, 2 Dec 2007 09:27:23
To:email@hidden
Subject: Single column NSListView bug?
I have a NSListView that is single column with a subclassed cell.
However when i have a single column the cell is told to resize and new
rectangles are passed in, however the drawing appears to be delayed,
and when shrunk the column will not readraw.
However... If i add a 2nd column with 0 width then all will redraw
when resizing properly.
Is this a known problem? Is this a 10.5 only issue?
Scott
_______________________________________________
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
_______________________________________________
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