1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-13 05:17:48 +03:00

update secondary config window position properly

This commit is contained in:
Michail Vourlakos 2019-04-06 19:23:44 +03:00
parent 671e2019e7
commit 2c8a0a83c1

View File

@ -186,7 +186,7 @@ void SecondaryConfigView::syncGeometry()
switch (m_latteView->containment()->formFactor()) {
case Plasma::Types::Horizontal: {
if (qApp->isLeftToRight()) {
xPos = availGeometry.x() + size.width();
xPos = availGeometry.x() + secondaryConfigSpacing;
} else {
xPos = availGeometry.x() + availGeometry.width() - size.width() - secondaryConfigSpacing;
}