3

I did a mockup project that contains solely three views:

  • NSTextField
  • NSPopUpButton
  • NSDatePicker

All of them with the same font System - Regular, 13.

However, as you can notice by the attached image, the fonts are different on each of the views.

Is this an expected behaviour? How to make the fonts look consistent across all these different views?

Example

fbernardo
  • 10,016
  • 3
  • 33
  • 46
dwbrito
  • 5,194
  • 5
  • 32
  • 48
  • 1
    The date picker is probably using the mono-spaced digits font, as obtained via `+[NSFont monospacedDigitSystemFontOfSize:weight:]`. Since El Capitan, the default is proportionally-spaced digits, which is what the other two are presumably using. Not sure about the other differences. – Ken Thomases Dec 28 '16 at 13:59
  • Can you post that sample code online? – fbernardo Dec 31 '16 at 03:41

0 Answers0