Skip to content
Snippets Groups Projects

Use monospace digits for time label

Fixes #351 (closed).

I opted to preserve the font that is set in the xib, but add the monospaced numbers OpenType attribute. If you prefer, I can set the font directly in code, which is the much simpler one-liner:

self.timeDisplayButton.titleLabel.font = [UIFont monospacedDigitSystemFontOfSize:15 weight:UIFontWeightBold];

However, it seemed like most font configuration in the app is done in xibs rather than in code. But I'm happy to do whichever style people prefer.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading