Fuzzy controls are the pits

Discussion in 'Mac Programming' started by ePaperPress, Mar 21, 2008.

  1. macrumors newbie

    Joined:
    Mar 21, 2008
    #1
    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.
     
  2. thread starter macrumors newbie

    Joined:
    Mar 21, 2008
    #2
    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.
     

Share This Page