Skip to content

Monospaced digits for the status bar items #167304

@PEZ

Description

@PEZ

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:

* { font-feature-settings: "tnum"; }

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:

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code Insidersverification-neededVerification of issue is requestedverifiedVerification succeededworkbench-statusStatus bar

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions