Njanderson / resmon

Displays resource utilization in the VSCode status bar.
81 stars 22 forks source link

format request: fix width of info bar #33

Open AdamJel opened 4 years ago

AdamJel commented 4 years ago

Hello,

would it be possible to expose a settings, which would fix the overall width of info box in status bar?

The reasoning behind this is, that now with changing width (because of single vs double digit cpu usage, etc..) all other info boxes from other extensions are moving a bit, which causes distraction.

The displacement and consequent movement:

displacement

Njanderson commented 4 years ago

Grr, I am doing SOMETHING about this, but since the font is not monospace, I can add padding, but there can be differences based on what's added. I tried a few of the space lengths to see if I could find one that best matched the number width for this font (what if people have different fonts?!), and I have something that mitigates this a bit. It's not a solution - the StatusBarItem doesn't provide for such customizability, as well. Perhaps this could be a feature request of VS Code proper...