Programmatically creating NSButton
Programmatically creating NSButton
- Subject: Programmatically creating NSButton
- From: Greg Hulands <email@hidden>
- Date: Sat, 24 Apr 2004 13:43:09 +1000
Hi,
I am trying to create a rounded aqua button, but the text in the button
seems to be positioned at the bottom of the button, not in the center.
[aqua setButtonType:NSMomentaryPushButton];
[aqua setBordered:YES];
[aqua setBezelStyle:NSRoundedBezelStyle];
[aqua setImagePosition:NSNoImage];
[aqua setAlignment:NSCenterTextAlignment];
What am I doing wrong?
Regards,
Greg
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.