-
Notifications
You must be signed in to change notification settings - Fork 39.7k
Monospaced digits for the status bar items #167304
Copy link
Copy link
Closed
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code Insidersverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeededworkbench-statusStatus barStatus bar
Milestone
Metadata
Metadata
Assignees
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code Insidersverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeededworkbench-statusStatus barStatus bar
When a status bar item updates frequently with something like a counter with a fixed number of digits it grows and shrinks depending on what digits are shown. This makes it look a bit broken, and it get worse if there are items to the sides of the counter.
I'd like to suggest that status bar items are rendered with fixed width/monospaced digits. I tried with making the whole VS Code UI render like this, with this CSS:
And I can't notice that it is bad anywhere. Here's what a timer-counter I wrote looks like with and without this CSS applied:
See also: