• 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
Equalizing Width of all Toolbar Items
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Equalizing Width of all Toolbar Items


  • Subject: Equalizing Width of all Toolbar Items
  • From: "Chen Wang" <email@hidden>
  • Date: Wed, 1 Jun 2005 16:37:59 -0400
  • Thread-topic: Equalizing Width of all Toolbar Items

Hi,

 

Does anyone know how to let all items in a toolbar having the same width? Following is a description of my question:

 

My toolbar has 6 NSToolbarItems, each of them simply includes a 24x24 icon and a text label. Everything works fine so far, until I find that the items have different width just because they have different length of label texts. This finally makes all icons looks unequally distributed.

 

Is there any way in Cocoa to assign a fixed width to NSToolbarItem (no matter how long its label text is), so that all items could be equally distributed in a toolbar?

 

Thanks in advance!

 

Chen

 



Confidentiality Notice: This e-mail, including any attachments, is for the sole use of the intended recipient(s) and may contain private, confidential, and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient or this information has been inappropriately forwarded to you, please contact the sender by reply e-mail and destroy all copies of the original.
 _______________________________________________
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

  • Follow-Ups:
    • Re: Equalizing Width of all Toolbar Items
      • From: j o a r <email@hidden>
  • Prev by Date: Core Data Inverse To-Many/To-One Bug?
  • Next by Date: Re: Equalizing Width of all Toolbar Items
  • Previous by thread: Re: Core Data Inverse To-Many/To-One Bug?
  • Next by thread: Re: Equalizing Width of all Toolbar Items
  • Index(es):
    • Date
    • Thread