Equalizing Width of all Toolbar Items
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