Support the right side Hide
This commit is contained in:
parent
e0baaa1ce2
commit
d4a67e6817
1 changed files with 4 additions and 0 deletions
|
@ -111,6 +111,10 @@ void FakeWindow::updateGeometry()
|
||||||
newRect = QRect(screenRect.x(),
|
newRect = QRect(screenRect.x(),
|
||||||
screenRect.y() + screenRect.height() - length,
|
screenRect.y() + screenRect.height() - length,
|
||||||
screenRect.width(), length);
|
screenRect.width(), length);
|
||||||
|
} else if (DockSettings::self()->direction() == DockSettings::Right) {
|
||||||
|
newRect = QRect(screenRect.x() + screenRect.width() - length,
|
||||||
|
screenRect.y(),
|
||||||
|
length, screenRect.height());
|
||||||
}
|
}
|
||||||
|
|
||||||
setGeometry(newRect);
|
setGeometry(newRect);
|
||||||
|
|
Loading…
Reference in a new issue