Re: NSShadow changes on 10.5.2?
Re: NSShadow changes on 10.5.2?
- Subject: Re: NSShadow changes on 10.5.2?
- From: Jim Correia <email@hidden>
- Date: Sun, 17 Feb 2008 00:04:55 -0500
On Feb 16, 2008, at 11:48 PM, Seth Willits wrote:
if (NSAppKitVersionNumber >= AppKitVersionNumber_10_5_2) {
size.width -= 1.0;
size.height += 1.0;
}
It seems like a more complex behavior than that, even ignoring the
negative offset problem.
I never noticed there was a bug with 10.5.1 and earlier. It seemed
perfectly fine to me. Still does. Offset of {0, 0} was basically
hidden, {1, -1} was just one pixel wide to bottom right corner... It
seems like a bug to me as it is now, not correct.
As I've previously mentioned, the offsets seem correct now, but that
doesn't help my hand tuned offsets from before.
Here's the sample app so you can play with it for yourself on various
OS releases.
http://idisk.mac.com/jimcorreia/Public/NSShadowTest.zip
Jim
_______________________________________________
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