perfmonbar icon indicating copy to clipboard operation
perfmonbar copied to clipboard

Value is centered automatically

Open uladz-zubrycki opened this issue 4 years ago • 1 comments

Is it possible float value to the left or to the right instead of centering it? I tried to play with characters attribute, but it's no help for the case.

Let me show you what I mean. I have CPU and RAM counters and want those to have the same width, so that my other counters go nicely aligned.

Everything is cool if both CPU and RAM have two digits in the value. image

But it looks bad, when CPU consumption is not that high. image

Notice how arrows for download and upload speeds change their position. Moreover they jump all the time as values change and it disturbs.

Temporarily fixed by moving counters around, but it's not ideal. image

Thanks for the app!

uladz-zubrycki avatar Feb 17 '21 13:02 uladz-zubrycki

I fixed this by making it

  • use a monospace font (I used Noto Mono) and
  • using the Characters attribute to set minimum characters to 6.

kylemd avatar Oct 11 '21 05:10 kylemd

Yeah, it's a font matter.

XhmikosR avatar Mar 23 '23 19:03 XhmikosR