Re: Subviews becoming blurry or "chopped up"
Re: Subviews becoming blurry or "chopped up"
- Subject: Re: Subviews becoming blurry or "chopped up"
- From: Rosyna <email@hidden>
- Date: Thu, 11 May 2006 03:49:25 -0700
Ah, so then it is indeed a bug in AppKit wrt fractional parts. Of
course, NSIntegralRect() cannot be used going into the future as it
breaks when using a Resolution Independent UI. Although AppKit has
these same drawing issues when setting a multiplier on the Resolution
using Quartz Debug.
Ack, at 5/11/06, John C. Randolph said:
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:
--
Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug
Unsanity: Unsane Tools for Insanely Great People
It's either this, or imagining Phil Schiller in a thong.
_______________________________________________
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