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
[importButton setBordered:NO]; | |
[importButton setImagePosition:CPImageLeft]; | |
[importButton setTitle:@"blah"]; | |
[importButton setTextColor:[CPColor blackColor]]; | |
[importButton setFont:[CPFont systemFontOfSize:16.0]]; | |
[importButton setImage:[[CPImage alloc] initWithContentsOfFile:path1 size:CGSizeMake(32.0, 32.0)]]; | |
[importButton setAlternateImage:[[CPImage alloc] initWithContentsOfFile:path2 size:CGSizeMake(32.0, 32.0)]]; | |
[importButton setAlignment:CPLeftTextAlignment]; | |
[importButton setDelegate:self]; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment