I have the clock in format "%d %a %T", so I have seconds displayed. When the time changes from, say 20.32.00 to 20.32.01, the whole panel to the left of the clock jitters left and right. Since most digits in non-monospace fonts have different widths, it happens almost every second. This could be fixed by giving the clock a fixed width (but there is no such option) or using a monospace font, but it does not look nice having a monospace font for the whole UI. So, could we please have the clock with a fixed width or the possibility to set a monospace font for the clock separately from the font used for the rest of the UI?
You can change the font of the clock without changing the rest of the UI. See here, for example: https://forum.peppermintos.com/index.php?topic=7207.0
(In reply to oren.barnea from comment #1) > You can change the font of the clock without changing the rest of the UI. > See here, for example: > https://forum.peppermintos.com/index.php?topic=7207.0 Thanks, that works! For the future, what documentation should I look into for such things?
Glad to hear it helped. I'm afraid I don't remember how I found this solution. I had a similar problem a few years ago and just googled for a solution. I do remember it wasn't very easy to find.
Right click the clock plugin, select Properties and then stop the cursor over the question mark icon beside the custom format field, it will give a hint that markup is supported. Clicking on Help leads to https://docs.xfce.org/xfce/xfce4-panel/4.14/clock which mentions Pango markup, although that page may be expanded to include more examples.
-- GitLab Migration Automatic Message -- This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-panel/-/issues/261. Please create an account or use an existing account on one of our supported OAuth providers. If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev