Adjust clock width so it doesn't wrap#8413
Merged
qndel merged 1 commit intodiasurgical:masterfrom Jan 10, 2026
Merged
Conversation
qndel
approved these changes
Jan 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
0is the widest digit, coming in at 10 pixels.:is 4 pixels, and there is 1-pixel spacing between each character.6 zeros, 2 colons, and 7 spaces will add up to:
6 * 10 + 2 * 4 + 7 = 75Seems like maybe 69 was chosen by adding 1 pixel of spacing to the right of the clock without considering the 1-pixel spacing between each character:
6 * 10 + 2 * 4 + 1 = 69So I went with the same 1 pixel of spacing to the right of the clock and bumped it up to 76.
Before:

After:
