30 May

World clock’s width changes frequently

LXQT’s default panel does not contain a ram monitor and besides, I don’t like its CPU monitor. So I installed Multiload-ng. This widget has fancy colors, and some problem happened to it.
LXQT’s World clock which is located behind Multiload-ng changes its width frequently according to the numbers. This causes instability to Multiload-ng’s color, some color noise appears around Multiload-ng.
According to World clock’s GitHub discussion, the number displayed is controlled by HTML syntax. Therefore, it is easy to set a monospaced font to the clock number like this:

'<font size="3" face="Monospace">'HH:mm:ss'</font>'

This solved Multiload-ng’s color problem.

Leave a Reply