|
|
|
@ -110,11 +110,11 @@ void DockConfigView::syncGeometry()
|
|
|
|
|
|
|
|
|
|
if (location == Plasma::Types::TopEdge) {
|
|
|
|
|
setPosition(sGeometry.center().x() - size.width() / 2
|
|
|
|
|
, m_dockView->currentThickness() + 1);
|
|
|
|
|
, m_dockView->currentThickness());
|
|
|
|
|
|
|
|
|
|
} else if (location == Plasma::Types::BottomEdge) {
|
|
|
|
|
setPosition(sGeometry.center().x() - size.width() / 2
|
|
|
|
|
, sGeometry.height() - m_dockView->currentThickness() - size.height() - 1);
|
|
|
|
|
, sGeometry.height() - m_dockView->currentThickness() - size.height());
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -128,10 +128,10 @@ void DockConfigView::syncGeometry()
|
|
|
|
|
|
|
|
|
|
if (location == Plasma::Types::LeftEdge) {
|
|
|
|
|
setPosition(m_dockView->currentThickness()
|
|
|
|
|
, sGeometry.center().y() - size.height() / 2 + 1);
|
|
|
|
|
, sGeometry.center().y() - size.height() / 2);
|
|
|
|
|
|
|
|
|
|
} else if (location == Plasma::Types::RightEdge) {
|
|
|
|
|
setPosition(sGeometry.width() - m_dockView->currentThickness() - size.width() - 1
|
|
|
|
|
setPosition(sGeometry.width() - m_dockView->currentThickness() - size.width()
|
|
|
|
|
, sGeometry.center().y() - size.height() / 2);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|