2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Move filters side bar inside bodyWidget.

This commit is contained in:
John Preston
2020-03-06 15:37:48 +04:00
parent 2cefccc6eb
commit c279986493
6 changed files with 33 additions and 20 deletions

View File

@@ -522,12 +522,6 @@ void MainWindow::updateControlsGeometry() {
bodyWidth -= _rightColumn->width();
_rightColumn->setGeometry(bodyWidth, bodyTop, width() - bodyWidth, height() - bodyTop);
}
if (const auto session = _controller->sessionController()) {
if (const auto skip = session->filtersWidth()) {
bodyLeft += skip;
bodyWidth -= skip;
}
}
_body->setGeometry(bodyLeft, bodyTop, bodyWidth, height() - bodyTop);
}