Open VoidFaceless opened 10 years ago
create NSButton in IB, set borderless and image, and image position to image only. In window it looks good. after place it to title bar, When click on it, there is white background, not transparent as in the window. Am I wrong?
Could you post a screenshot?
I think this will help you fix the white background problem
[button setBezelStyle:NSRoundRectBezelStyle]; [button setButtonType:NSMomentaryLightButton];
create NSButton in IB, set borderless and image, and image position to image only. In window it looks good. after place it to title bar, When click on it, there is white background, not transparent as in the window. Am I wrong?