mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-24 08:49:42 +00:00
use property instead of setter
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
if(self) {
|
||||
self.focusRingType = NSFocusRingTypeNone;
|
||||
self.bezelStyle = NSTexturedRoundedBezelStyle;
|
||||
[self.cell setImageScaling:NSImageScaleProportionallyDown];
|
||||
((NSButtonCell *)(self.cell)).imageScaling = NSImageScaleProportionallyDown;
|
||||
[self setButtonType:NSMomentaryPushInButton];
|
||||
self.imagePosition = NSImageOnly;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user