The button must not be clickable outside the button border.
- (void)applicationDidFinishLaunching: (NSNotification *)aNotification {
NSButton *btn = [[NSButton alloc] initWithFrame:NSMakeRect(20, 20, 80, 80)];
[btn setBezelStyle:NSCircularBezelStyle];
[btn setTitle: @"+"];
[[_window contentView] addSubview:btn];
}
img link (tinypic.com/view.php?pic=11a8ysk&s=9)
View attachment 807294
- (void)applicationDidFinishLaunching: (NSNotification *)aNotification {
NSButton *btn = [[NSButton alloc] initWithFrame:NSMakeRect(20, 20, 80, 80)];
[btn setBezelStyle:NSCircularBezelStyle];
[btn setTitle: @"+"];
[[_window contentView] addSubview:btn];
}
img link (tinypic.com/view.php?pic=11a8ysk&s=9)
View attachment 807294