Re: Blurring, phycedelic NSTableViews.
Re: Blurring, phycedelic NSTableViews.
- Subject: Re: Blurring, phycedelic NSTableViews.
- From: Frank Midgley <email@hidden>
- Date: Tue, 15 Mar 2005 10:21:50 -0600
On Mar 15, 2005, at 10:08AM, Peter Hudson wrote:
On Tuesday, March 15, 2005, at 04:02PM, Frank Midgley <email@hidden>
wrote:
On Mar 15, 2005, at 7:39AM, Peter Hudson wrote:
I have an NSTableView in a split view ( with an NSTextView ) in my
application main window.
Mostly the table view behaves like a normal table view. Occasionally,
when I scroll the table, it becomes a blurred mess !
One quick resize of the table with a scroll divider and the table is
redrawn correctly !
Baffling.
Are you setting a non-integral frame anywhere?
I set an initial frame size in Interface Builder when I set the panel
up - but then the frame size is set by changing the split view.
I understood that the system was meant to correct non-integral frames.
How could I check if I had set a non integral frame and how could I
correct it ?
Get your app into its "drawing funky" state, switch to Xcode, add a
breakpoint in one of the table view data source methods, switch back to
your app and scroll the table again. Once the break point is hit type
"p (NSRect)[tableView frame]" in the console.
I know I've seen this with non-integral column widths, not sure if the
frame can get into the same state.
-Frank
------------------------------------
Frank M. Midgley
email@hidden
http://homepage.mac.com/knarf/
_______________________________________________
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