Re: Custon toolbar items and size
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