• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Resizing an NSButtonCell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Resizing an NSButtonCell
      • From: "Alan Smith" <email@hidden>
  • Prev by Date: Re: [CORE DATA] is it safe to modify/delete a managed object during its validation?
  • Next by Date: NSObjectController and setManagedObjectContext:
  • Previous by thread: Re: Very strange Cocoa application issue.
  • Next by thread: Re: Resizing an NSButtonCell
  • Index(es):
    • Date
    • Thread