Re: NSTableView blurry contents
Re: NSTableView blurry contents
- Subject: Re: NSTableView blurry contents
- From: William Turner <email@hidden>
- Date: Wed, 17 Aug 2005 11:55:35 -0400
Thanks Jesse - that was it! I floor'd all the elements of the frame
and the problem is gone. Nifty. Do you - or does anyone - know why
that has to be? Just curious.
Thanks for all the speedy responses :)
Wil
On Aug 17, 2005, at 11:37 AM, Jesse Grosjean wrote:
I have an NSTableView in my app in which the contents blur when
scrolled. I don't mean that they blur from movement, but that they
actually distort and remain distorted afterwards. I posted some
screenshots at http://www.psatellite.com/table_bug/
I would really like some insight into what could be going on here...
This happens when a views frame is set to non integer values. I
can't say exactly where the problem is, but I think that's what you
should look for. Probably there is somewhere in your code where you
are calling setFrame and you need to first call floor() or ceil()
on the rectangle values to validate them.
Jesse
_______________________________________________
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