Skip to content

Truncated sidebar items' font size behaves incorrectly #5714

@Spekular

Description

@Spekular

Tested:

  • Windows, master: Truncated items display as bigger(!) than non-truncated ones.
  • Windows, 1.2.2: Truncated items display at a smaller size, but the truncation is still calculated for the normal size. This leaves unused space.
  • Ubuntu 20, master: Font size is the same for truncated/non-truncated items
    On master + windows, when a sidebar item's full name can't be displayed, its font size increases. In 1.2.2, the font size is reduced instead, and on a master build + linux the size is unchanged.

Screenshot of Windows master behavior:
image

Screenshot of Windows 1.2.2 behavior:
image

I propose this be fixed by drawing all items at the same font size, regardless of truncation. If we want to keep the changing font size, I think the behavior should be as on windows + 1.2.2 but with truncation based on the actual font size.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions