Skip to content

Instantly share code, notes, and snippets.

@rizumita
Created November 30, 2013 22:24
Show Gist options
  • Save rizumita/7725401 to your computer and use it in GitHub Desktop.
Save rizumita/7725401 to your computer and use it in GitHub Desktop.
画像を左、タイトルを右に配置したNSButtonを作る
NSButton *button = [[NSButton alloc] init];
[button setImage:[NSImage imageNamed:@"Foo"]];
button.imagePosition = NSImageLeft;
button.title = @"text"
[button setBordered:NO];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment