Njanderson/resmon

format request: fix width of info bar

Opened this issue · 1 comments

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

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...