[aurorae] Use AlignHCenter instead of AlignCenter for horizontalAlignment
The Text.horizontalAlignment property expects AlignHCenter instead of AlignCenter. By not using AlignHCenter the centering broke when a window got maximized.
This commit is contained in:
parent
65548b0df3
commit
edd2899094
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ void ThemeConfig::load(const KConfig &conf)
|
|||
m_alignment = Qt::AlignLeft;
|
||||
}
|
||||
else if (alignment == QStringLiteral("center")) {
|
||||
m_alignment = Qt::AlignCenter;
|
||||
m_alignment = Qt::AlignHCenter;
|
||||
}
|
||||
else {
|
||||
m_alignment = Qt::AlignRight;
|
||||
|
|
Loading…
Reference in a new issue