Created
November 30, 2013 22:24
-
-
Save rizumita/7725401 to your computer and use it in GitHub Desktop.
画像を左、タイトルを右に配置したNSButtonを作る
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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