Skip to content

Gamemode indicator icon takes up space even when disabled #2206

@MithicSpirit

Description

@MithicSpirit

The indicator icon for the gamemode module takes up space even if use-icon: false is set. This can be noticed by launching GTK_DEBUG=interactive waybar, finding the gamemode image in the object hierarchy, clicking on it, and noticing how there is a small blue box next to the text. Alternatively, putting a background on #gamemode in the CSS shows that there is more spacing to the left of the text than to the right, as that extra space is accounting for the icon (see image). Setting icon-size to 0 helps but does not fix the problem entirely (setting icon-spacing to 0 seems to have no effect).

Gamemode module with uncentered text

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions