• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSShadow changes on 10.5.2?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSShadow changes on 10.5.2? (From: Jim Correia <email@hidden>)
 >Re: NSShadow changes on 10.5.2? (From: João Pavão <email@hidden>)
 >Re: NSShadow changes on 10.5.2? (From: Uli Kusterer <email@hidden>)
 >Re: NSShadow changes on 10.5.2? (From: Jim Correia <email@hidden>)
 >Re: NSShadow changes on 10.5.2? (From: Seth Willits <email@hidden>)

  • Prev by Date: Re: NSShadow changes on 10.5.2?
  • Next by Date: Re: NSTextTab at the rightmost edge of view
  • Previous by thread: Re: NSShadow changes on 10.5.2?
  • Next by thread: Re: [RESOLVED] Re: Curious about copyWithZone message from NSArrayController in "GC required" project
  • Index(es):
    • Date
    • Thread