Re: Subviews becoming blurry or "chopped up"
Re: Subviews becoming blurry or "chopped up"
- Subject: Re: Subviews becoming blurry or "chopped up"
- From: "John C. Randolph" <email@hidden>
- Date: Thu, 11 May 2006 03:39:16 -0700
On May 11, 2006, at 1:59 AM, Rosyna wrote:
If I dynamically add a subview, sometimes the view will have the
end caps of buttons "sliced".
http://www.unsanity.org/rosyna/imgs/slicedup.png
Notice how the endcaps of the buttons are blurry and offset from
the main button content?
Is there anyway around this? What causes it?
This can happen if the size of the rect that you're passing in -
initWithFrame: doesn't match the standard size of the button style in
question. Try using NSIntegralRect() on the frame before you pass it
to -initWithFrame:
-jcr
"This is not a book to be tossed aside lightly. Rather, it should be
hurled with great force." -Dorothy Parker
_______________________________________________
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