Skip to content
Snippets Groups Projects
Commit 4c3ed56a authored by marco's avatar marco
Browse files

make message box slightly smaller and smooth them

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2685 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent 398542b3
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,8 @@ MessageLevel::MessageLevel(QPixmap icon, QWidget* parent): QWidget(parent), mess
layout->setSpacing(0);
QLabel* icon_label = new QLabel(this);
icon_label->setFixedSize(20,20);
icon_label->setPixmap(icon.scaled(20,20));
icon_label->setPixmap(icon.scaled(15,15, Qt::IgnoreAspectRatio,
Qt::SmoothTransformation));
layout->addWidget(icon_label);
layout->addWidget(count_label_);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment