Re: NSButton background when pressed is turning white [SOLVED]
Re: NSButton background when pressed is turning white [SOLVED]
- Subject: Re: NSButton background when pressed is turning white [SOLVED]
- From: Garth Humphreys <email@hidden>
- Date: Wed, 4 Jul 2007 11:58:26 -0400
YOU ARE AWESOME.... thanks for that! I can't believe I over looked
that, I tried everything in IB's inspector window, except 'Momentary
Change'.
g
On Jul 4, 2007, at 7:49 AM, Half Activist wrote:
Hi Garth,
This is a problem that happens quite often to me. But i don't think
we can consider it a problem actually.
The solution: set the button's behavior to 'Momentary Change' int
the Button's Inspector Palette. (if created from ib).
Regards.
On Jul 4, 2007, at 4:16 AM, Garth Humphreys wrote:
Hi,
I'm new to software programming, C and Objective-C. I'm familiar
with some of the concepts, but I know I'm a long way away from
being an expert at it. None the less, I have a question about
NSButtons.
I have created a borderless NSButton, with a icon image insert
into it. But whenever I run my application and press the NSButton
(with the icon in it), a white box or background is shown. I did a
search through the lists, and found where someone asked the same
question, but no one seemed to reply. I hoping someone might be
able to help me with this.
I also read somewhere else that, I need to subclass NSButtonCell
and change the background there. But I don't know how I would do
that exactly.
Thanks for your help in advance.
g
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden