moved navigation to the right

This commit is contained in:
fourtf
2020-10-23 09:32:45 +02:00
parent 74e2242da2
commit 5f54b1b495
7 changed files with 36 additions and 18 deletions
+3 -2
View File
@@ -65,8 +65,9 @@ void SettingsDialogTab::paintEvent(QPaintEvent *)
a = a + a + 20 + a;
painter.drawText(QRect(a, 0, width() - a, height()), this->ui_.labelText,
QTextOption(Qt::AlignLeft | Qt::AlignVCenter));
this->style()->drawItemText(&painter, QRect(a, 0, width() - a, height()),
Qt::AlignLeft | Qt::AlignVCenter,
this->palette(), false, this->ui_.labelText);
}
void SettingsDialogTab::mousePressEvent(QMouseEvent *event)