• 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: Custon toolbar items and size
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custon toolbar items and size


  • Subject: Re: Custon toolbar items and size
  • From: Ryan Britton <email@hidden>
  • Date: Fri, 7 Jul 2006 10:09:25 -0700

Here are a couple that should help:

http://developer.apple.com/qa/qa2001/qa1029.html
http://developer.apple.com/documentation/Cocoa/Conceptual/Toolbars/ Tasks/SettingTBItemSize.html#//apple_ref/doc/uid/20000754



On Jul 7, 2006, at 7:37 AM, Fredrik Olsson wrote:

I use the Camino sources as a reference, and they state that despite NSView not responding to setControlSize: the toolbar should send it with undocumented behaviour. And then they implement setControlSize: in their ToolbarButton class.

It works in Camino, but for me the setControlSize: method is not called at all. Am I missing something obvious? And is there some official documentation available describing how to do custom toolbar items, correctly resizing itself as the toolbar changes between Regular and Small?

// Fredrik Olsson
_______________________________________________
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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: 
 >Custon toolbar items and size (From: Fredrik Olsson <email@hidden>)

  • Prev by Date: [Moderator] List guidelines and related resources
  • Next by Date: Re: Core Data: Single entity in NSDocument?
  • Previous by thread: Custon toolbar items and size
  • Next by thread: where have all the IVARS gone? (long time passing...)
  • Index(es):
    • Date
    • Thread