Skip to content

[QUESTION] Change the icon size of an "image" widget #1279

@dexslender

Description

@dexslender

I am making a taskbar. For the icons I'm using “image” widget where I pass the icon as string and it works, but the problem is that some icons are displayed larger and increase the height of the bar.
Is there any property that allows me to set the limit of the size of the image?
I have tried with “:image-width”, “:image-height”, in css “max-width” and “max-height”, but it doesn't seem to work.

Image

Image

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