DankMaterialShell icon indicating copy to clipboard operation
DankMaterialShell copied to clipboard

[Bug] Adjust spacing in User Info to avoid overlap when using different fonts

Open kevb1973 opened this issue 1 year ago • 2 comments

Compositor

  • [x] niri
  • [ ] Hyprland
  • [ ] Other (specify)

Description

When using a non-default font, the uptime is overlapping the lock button.

Image

kevb1973 avatar Aug 30 '25 01:08 kevb1973

I just remove "uptime: " from it since it was redundant and a waste of space - which solves that one.

But in general, it's not easy to design interfaces that work well with all fonts thats why we focus on one (Inter Variable). Hard to guarantee success with everything.

(In some cases I would just make this elide, min... over resizing the container) but in this case just removing uptime: from the front is fine.

bbedward avatar Aug 30 '25 02:08 bbedward

Just pulled your update and it looks good to me. Yeah, I can image it's difficult with different fonts. Proportional, monospace etc.

kevb1973 avatar Aug 30 '25 02:08 kevb1973