https://bugs.kde.org/show_bug.cgi?id=441852

Nate Graham <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Unread notification badge   |Unread notification badge
                   |looks misaligned for        |looks misaligned for
                   |numbers > 10                |numbers > 10 when using
                   |                            |10pt Noto Sans or other
                   |                            |small-ish fonts

--- Comment #4 from Nate Graham <[email protected]> ---
The issue seems to be that in the tooltip, we're forcing the badge to be
displayed at the same height as the close button. This height depends on the
metrics of the default font. The default font is 10pt Noto Sans, which is
rather small and result sin the button being rather small, and the badge
getting squeezed.

It looks fine for me with 11pt Noto Sans, but this is because due to a quick or
Noto Sans, 11pt is 22% bigger than 10pt which causes various buttons to be tall
enough that the badge gets enough height.

Not sure what the best way to fix this would be. Feel free to play with the
code in
https://invent.kde.org/plasma/plasma-desktop/-/blob/master/applets/taskmanager/package/contents/ui/ToolTipInstance.qml#L115
and see if you can come up with a sane solution.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to