Skip to content

Adjust clock width so it doesn't wrap#8413

Merged
qndel merged 1 commit intodiasurgical:masterfrom
StephenCWills:clock-width
Jan 10, 2026
Merged

Adjust clock width so it doesn't wrap#8413
qndel merged 1 commit intodiasurgical:masterfrom
StephenCWills:clock-width

Conversation

@StephenCWills
Copy link
Copy Markdown
Member

0 is 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 = 75

Seems 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 = 69

So I went with the same 1 pixel of spacing to the right of the clock and bumped it up to 76.

Before:
image

After:
image

@qndel qndel merged commit 64f80e4 into diasurgical:master Jan 10, 2026
25 checks passed
@StephenCWills StephenCWills deleted the clock-width branch January 10, 2026 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants