cosmic-applets icon indicating copy to clipboard operation
cosmic-applets copied to clipboard

Time applet should use a monospace font

Open wiiznokes opened this issue 1 year ago • 6 comments

This is even more visible with the show second option

wiiznokes avatar Aug 30 '24 23:08 wiiznokes

It's should be simple to change it to cosmic::font::FONT_MONO_REGULAR (which is Fira Mono), I don't think it'll look out of place compared to the default font (Fira Sans). Although when I tried it with .font(cosmic::font::FONT_MONO_REGULAR), it doesn't seem to find it and fallbacks to a different font, but I'm also getting no warnings or errors at all so I'm not sure:

image

image

Also apparently I found a bug where the screenshot continues to the wrong monitor, I have two monitors and secondary one is to the right of the primary, but after moving the mouse too much left in the selection it captured the right area of the right screen (if this is intended to wrap around like that, there's currently no visual indication that it's happening).

bbb651 avatar Aug 31 '24 18:08 bbb651

it might not be a good idea to hardcode a font like that if they want to make fonts configurable

wiiznokes avatar Sep 06 '24 01:09 wiiznokes

Perhaps an option to use monospace font in the Time applet settings UI that is on the roadmap.

WatchMkr avatar Sep 14 '24 00:09 WatchMkr

I don't think an option is necessary. Why not use a mono font by default?

wiiznokes avatar Sep 14 '24 09:09 wiiznokes

Not everyone may want a monospace font enabled by default. For example, if they have a custom system font setup that they prefer for all UI components. Providing an option would be a better approach.

Maybe another option in appearance to change the font for Time applet?? or as gitf0x mentioned to have fixed space between parts would be better

iamkartiknayak avatar Mar 12 '25 10:03 iamkartiknayak

Is it fixed ? i can't find a commit related to this, but i don't experience this issue anymore

wiiznokes avatar Jul 23 '25 21:07 wiiznokes