• 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: 10.11: NSDatePicker cuts off year digit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 10.11: NSDatePicker cuts off year digit


  • Subject: Re: 10.11: NSDatePicker cuts off year digit
  • From: Markus Spoettl <email@hidden>
  • Date: Wed, 11 Nov 2015 18:27:04 +0100

On 10/11/15 18:26, Markus Spoettl wrote:
This happens on 10.11 only, not on 10.10. Anyone able to confirm this using own
code? Maybe something is set up incorrectly? Anyone know of a workaround until
this gets fixed (yes, I will file a bug once it's confirmed that it's not my
fault).

Thanks Norbert for the confirmation.

I tried a couple of things to get around the problem, but there seems to be no good solution.

The only workaround I could come up with it setting the font that the picker uses to something other than "System" or "Lucida Grande". In both these cases, the font is replaced with the wider system font on 10.11. The downside of course is that "Helvetica Neue", which I now have to use for these controls, looks a little different.

My theory is that the system does a measurement to size the date cells it uses internally before it replaces the font... It happens on regular size controls too and also on controls with time. No one ever tested this.

Regards
Markus
--
__________________________________________
Markus Spoettl
_______________________________________________

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: 
 >10.11: NSDatePicker cuts off year digit (From: Markus Spoettl <email@hidden>)

  • Prev by Date: AppleScript-ObjC Bridge Problem
  • Next by Date: More AppleScript-ObjC Bridge Weirdness
  • Previous by thread: 10.11: NSDatePicker cuts off year digit
  • Next by thread: Best practice for adjusting UIScrollView contentOffset in 'willTransitionToTraitCollection'
  • Index(es):
    • Date
    • Thread