This commit is contained in:
fourtf 2018-01-13 02:18:13 +01:00
parent cec6f7ce9d
commit 96feb9b54c

View file

@ -52,9 +52,9 @@ void SettingsDialogTab::paintEvent(QPaintEvent *)
painter.drawPixmap(a, a, pixmap); painter.drawPixmap(a, a, pixmap);
a = a + a + 20; a = a + a + 20 + a;
painter.drawText(QRect(a + a, 0, width() - a, height()), this->ui.labelText, painter.drawText(QRect(a, 0, width() - a, height()), this->ui.labelText,
QTextOption(Qt::AlignLeft | Qt::AlignVCenter)); QTextOption(Qt::AlignLeft | Qt::AlignVCenter));
} }