# HG changeset patch # User Chris Cannam # Date 1524731221 -3600 # Node ID 97d977091d4ec4c295bab656614b07162f55b69b # Parent 61418c1122817bf599987e683d7763c52ea4d136 Scale scalable icon diff -r 61418c112281 -r 97d977091d4e widgets/PluginParameterDialog.cpp --- a/widgets/PluginParameterDialog.cpp Tue Apr 24 10:15:54 2018 +0100 +++ b/widgets/PluginParameterDialog.cpp Thu Apr 26 09:27:01 2018 +0100 @@ -20,6 +20,7 @@ #include "TextAbbrev.h" #include "IconLoader.h" +#include "WidgetScale.h" #include #include @@ -108,7 +109,7 @@ m_moreInfo = new QPushButton; m_moreInfo->setIcon(IconLoader().load("info")); - m_moreInfo->setFixedSize(QSize(16, 16)); + m_moreInfo->setFixedSize(WidgetScale::scaleQSize(QSize(16, 16))); connect(m_moreInfo, SIGNAL(clicked()), this, SLOT(moreInfo())); subgrid->addWidget(m_moreInfo, row, 2, Qt::AlignTop | Qt::AlignRight); m_moreInfo->hide();