kde_modernclock icon indicating copy to clipboard operation
kde_modernclock copied to clipboard

Text not aligned

Open FelixFourcolor opened this issue 1 year ago • 2 comments

The date and time are centered, but the day is left-aligned. Screenshot_20240315_072845

FelixFourcolor avatar Mar 15 '24 14:03 FelixFourcolor

The code already set to align it to the center, i believe it's because the letter spacing are applied after each character and last character also have it.

You can decrease the spacing to "decrease" the effect. Not sure if there's a way to remove the spacing on last character.

Example of using Letter Spacing of 1 Image

Example of using Letter Spacing of 50 Image

[Edit]

Found a wacky solution by adding zero width space character before each text. Image

AkimotoRyou avatar Mar 11 '25 03:03 AkimotoRyou

hey, can you please tell me how you fixed this? i am facing the same issue

ralfszeltins22 avatar Aug 06 '25 15:08 ralfszeltins22