Resizing an NSButtonCell
Resizing an NSButtonCell
- Subject: Resizing an NSButtonCell
- From: Ian was here <email@hidden>
- Date: Sun, 11 Feb 2007 14:47:09 -0800 (PST)
I programatically created a matrix with button cells.
I set the button cell type to NSSmallSquareBezelStyle,
which is suppose to be adjustable in size. The
question I have is how do you set the size of a button
cell.
When I run my app, the cells in the matrix are smaller
than their icon images, cutting them off. I would like
the button cell to be equal in size to it's icon
image.
I noticed in Interface Builder that an NSButtonCell
has width and height properties.
____________________________________________________________________________________
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden