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:
parent
671e2019e7
commit
2c8a0a83c1
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user