Re: Round Image on Round Button
Re: Round Image on Round Button
- Subject: Re: Round Image on Round Button
- From: August Trometer <email@hidden>
- Date: Sun, 25 Sep 2005 17:02:38 -0500
Turn off the button border (in IB or with setBordered:), then your
image is the only thing that is seen.
-- August
On Sep 25, 2005, at 9:15 AM, Jerry Krinock wrote:
I've never seen a round image on a round button, and now I probably
know
why. Instead of exactly covering the button, the system positions
my image
about 1-2 pixels too high too far to the right on the button, so it
looks
ugly:
http://www.sheepsystems.com/Round_on_Round.png
Does anyone know how to fix this? I have tried to "fool" it by
scaling and
clipping the image and/or alpha mask by 1-2 pixels, but it just
gets worse.
Assuming the answer is "no", I suppose one could maybe subclass
NSControl
and make his own button class? But I've never done anything like
this and
I'd appreciate a pointer or two before I go dig myself into the
wrong hole.
Jerry Krinock
_______________________________________________
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