View Full Version : Fuzzy controls are the pits

Mar 21, 2008, 04:11 PM
In this screen snapshot (http://epaperpress.com/temp/shift.gif) 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.

Mar 21, 2008, 05:48 PM
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.