PDA

View Full Version : Confused with NSButton Image




donggan123
Dec 23, 2011, 09:05 PM
I have a square NSButton and an Image the same size of the button. I set the image to the button, turned off bordered and set scaling to none. Then the image seems smaller than the button. If I set scaling to axes independent, the image can fill the all button. But is set button enable to false. The button disappeared. Does anyone know what's wrong with it?