• 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
Re: can't make an NSButton small enough
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can't make an NSButton small enough


  • Subject: Re: can't make an NSButton small enough
  • From: Ben Dougall <email@hidden>
  • Date: Fri, 8 Jul 2005 18:44:48 +0100


On Friday, July 8, 2005, at 06:11 pm, Lance Saleme wrote:

Try the following:

Rounded Bevel Button
No button text
Not Bordered
Icon Position Center (no label)
Frame set to 13 x 13

I tried it in IB and get a 13 x 13 clickable block. I don't have a tiny icon to test how it looks, but it gets what you seem to desire below. Good luck.

Hope that helps,
Lance

ah yes that did it -- thanks very much.

i had got it with [theButton setFrameSize:NSMakeSize(13,13)] but doing it in IB is better.

great, thanks,
ben.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: can't make an NSButton small enough (From: Lance Saleme <email@hidden>)

  • Prev by Date: Re: NO future for Cocoa-Java ?
  • Next by Date: Re: Sample Cocoa code to show how to launch a doc by sliding its icon into appl icon
  • Previous by thread: Re: can't make an NSButton small enough
  • Next by thread: sync service question
  • Index(es):
    • Date
    • Thread