Skip to content

SNI tray icon's context menu: Items' labels not aligned if some of them use icons and others don't #13955

Description

@Photon89

Distribution

Fedora Rawhide

Package version

6.7.4

Graphics hardware in use

No response

Frequency

Always

Bug description

It's a rather cosmetic issue, no biggie.

I am trying to implement a tray icon for Shutter using SNI. It works well, the tray icon is shown as expected, left click and right click actions are interpreted correctly.

One issue exists though: In the context menu some items use icons, the cosmetic issue is that these icons don't reserve horizontal space globally, and thus the text labels are not aligned.

Here is a screenshot:

Image

As you can see the first item's label is not aligned with the other items' labels, because it is the only one without an icon.

Steps to reproduce

You could test the PR which implements the tray icon: shutter-project/shutter#837

Expected behavior

All labels should be aligned, so items without an icon should be shifted to the right as if there was an icon.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions