Skip to content

Change DockWidgetTab icon size  #269

@stijnherfst

Description

@stijnherfst

I'm trying to change the icon size of a DockWidgetTab to something larger using either code or preferably stylesheets. It seems that the size is locked as my attempts to change it via a stylesheet didn't work. It seems they are set to a fixed size:

d->IconLabel->setPixmap(Icon.pixmap(style()->pixelMetric(QStyle::PM_SmallIconSize, nullptr, this)));

Here is an example image of the icons I want to enlarge.
image

Is it possible to change the icon size somehow?

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