This repository was archived by the owner on Jun 18, 2026. It is now read-only.
Clock width keeps changing #50
Answered
by
Kolcha
ForgeSource
asked this question in
Q&A
Replies: 2 comments
|
unfortunately, this is by design. clock tries to keep the minimal window width regardless of content. there is no option to change this behavior and it is unlikely that option will appear, as inability to maintain the minimal size will break a lot of things (first of all scaling, and then plugins that add widgets).
old Digital Clock 4 works the same way, but it has a very ugly font support, mostly implemented as a set of hacks. likely in your particular case these hacks produce approximately the same size during calculations. there's no technical reason for keeping same size, it must change depending on character, anything else is a bug.
I assume you are using the right alignment, i.e. clock maintains the same position for the right side, so the window moves slightly when its width changes. if you want to avoid the clock window movement due to 0-1-2 change, set alignment to "left". this will cause "normal resize" - extending window size to the right, as it usually happens. both reducing and extending the window width will not cause any movement. but still, the space occupied by the text string will be variable as it is in any text editor, as it should be, this is expected for non-monospaced fonts.
--
Sent from Mail app for Android Friday, 13 June 2025, 02:00PM +02:00 from ForgeSource ***@***.*** :
…DigitalClock5 keeps changing its width depending on the width of the characters involved (e.g. when the seconds go from 10 to 11 it gets narrower, and when they go from 11 to 12 it gets wider). This is very distracting.
I've been running DigitalClock4 for some time (with the same proportional font and settings, as much as possible) and it stays the same width regardless of what it is displaying.
Is there any way to force DC5 to not keep changing width?
—
Reply to this email directly, view it on GitHub , or unsubscribe .
You are receiving this because you are subscribed to this thread. Message ID: @ github . com>
|
0 replies
Answer selected by
ForgeSource
|
Thank you very much for the very detailed response. I was using Centre alignment, but changing to Left doesn't help - probably because I'm using a solid background, and that's changing width. I will stick with DC4 for now, as it does everything that I need. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
DigitalClock5 keeps changing its width depending on the width of the characters involved (e.g. when the seconds go from 10 to 11 it gets narrower, and when they go from 11 to 12 it gets wider). This is very distracting.
I've been running DigitalClock4 for some time (with the same proportional font and settings, as much as possible) and it stays the same width regardless of what it is displaying.
Is there any way to force DC5 to not keep changing width?
All reactions