Re: image larger than 32*32 in toolbar
Re: image larger than 32*32 in toolbar
- Subject: Re: image larger than 32*32 in toolbar
- From: Olivier Destrebecq <email@hidden>
- Date: Wed, 23 Mar 2005 19:00:48 -0500
I discovered that setmaxSize does not change the value that you passed
to it. Rather, when the size is checked later on and discovered to be
too large, then setmaxSize is called again with a revised size. So i
override setMaxSize and made sure to maintain the size i want but no
luck. The size of the displayed image seem to be set elsewhere... I'll
see what i can find tomorrow
Olivier
http://www-personal.si.umich.edu/~olivier/home/
On Mar 23, 2005, at 6:33 PM, Olivier Destrebecq wrote:
I tried overriding setmaxSize: from NSToolbarItem, but _maxSize is
declared private and thus won't let me do it:-( any idea or more
precise pointers?
Olivier
http://www-personal.si.umich.edu/~olivier/home/
On Mar 23, 2005, at 3:44 PM, Guy English wrote:
Olivier Destrebecq <email@hidden> wrote:
I know the regular toolbar does not allow to exceed 32*32, but is
there
a class i could override to perform this? I looked around and could
not
find any lead so far.
Subclass NSToolbarItem
_______________________________________________
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
_______________________________________________
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
!DSPAM:4241fd1055861915419847!
_______________________________________________
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