Mercurial > hg > svgui
changeset 1274:97d977091d4e
Scale scalable icon
author | Chris Cannam |
---|---|
date | Thu, 26 Apr 2018 09:27:01 +0100 |
parents | 61418c112281 |
children | 3ca1be2e2c91 |
files | widgets/PluginParameterDialog.cpp |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 <vamp-hostsdk/Plugin.h> #include <vamp-hostsdk/PluginHostAdapter.h> @@ -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();