Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ePaperPress

macrumors newbie
Original poster
Mar 21, 2008
2
0
In this screen snapshot the top half shows a custom control in Adobe Bridge, and the bottom half shows the control as it appears in my application. It's a shift button that allows the user to shift 4 ways or return to home.

Notice it's sharper in Bridge, even though both Bridge and my application are both on a Mac. I know some Mac users may feel fuzzy is the way to go, and that's okay, but how does Bridge yield a sharp image? I'm coding in Cocoa and subclassing from NSImageView. The image size is 47x47, same size as the BMP, and no borders.
 
Solution of sorts...

Tried subclassing NSButton but it did the same thing. Then tried upsizing to 48x48 (even though the image is 47x47). That did the trick. It was sharp, but did have a 1-pixel line to the left and bottom of the control. This worked for both NSButton and NSImageView.

I'm going with the 1-pixel outline... better that than fuzzy.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.