Updates stylesheet margins and more...

This commit is contained in:
mfreiholz
2016-02-15 15:18:52 +01:00
parent 91e0f62f3e
commit 5a17a88146
5 changed files with 15 additions and 13 deletions

View File

@@ -16,9 +16,9 @@ IconTitleWidget::IconTitleWidget(const QIcon& icon, const QString& title, QWidge
// Icon label
if (icon.isNull())
{
QLabel* titleIcon = new QLabel();
titleIcon->setPixmap(style()->standardIcon(QStyle::SP_MessageBoxInformation).pixmap(16, 16));
l->addWidget(titleIcon);
// QLabel* titleIcon = new QLabel();
// titleIcon->setPixmap(style()->standardIcon(QStyle::SP_MessageBoxInformation).pixmap(16, 16));
// l->addWidget(titleIcon);
}
else
{
@@ -30,7 +30,6 @@ IconTitleWidget::IconTitleWidget(const QIcon& icon, const QString& title, QWidge
// Title label
QLabel* titleText = new QLabel(title);
QFont titleFont = titleText->font();
titleFont.setBold(true);
titleText->setFont(titleFont);
l->addWidget(titleText, 1);
}