Re: 10.11: NSDatePicker cuts off year digit
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