Re: Quality of icons in table view
Re: Quality of icons in table view
- Subject: Re: Quality of icons in table view
- From: Stephane Sudre <email@hidden>
- Date: Thu, 3 Nov 2005 19:02:48 +0100
On 3 nov. 05, at 17:50, Austin Sarner wrote:
Hey,
I have a table view with a column I use to display some 16x16 icons
based on paths. I use bindings and a value transformer to grab the
image for the bound path, cache it, and return it -- displaying it in
the image view. All works fine, the correct icon displays in the
column -- but it looks horrible. It looks like it was scaled with no
quality at all.
Now, the weird thing is that when I switch the content view of the
window containing this table view back and forth (it's part of a
preferences thing), the icon quality increases and looks just as good
as the Finder's. Is there some magic refresh method that is being
called when switching panes that I could call manually to have it look
good initially? Any suggestions?
You may have to write some code to get the appropriate representation
for the icon (basically the smallest one). From what I've seen with
NSImageView / NSImageCell, you can't trust it to use the best
representation by itself (example includes the Internet Explorer icon
which was incorrectly rendered depending on weather conditions, OS
version and weekly sports results).
_______________________________________________
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