diff --git a/Telegram/SourceFiles/window/window.style b/Telegram/SourceFiles/window/window.style index 4563a45e9..dd31a5dcf 100644 --- a/Telegram/SourceFiles/window/window.style +++ b/Telegram/SourceFiles/window/window.style @@ -116,6 +116,7 @@ mainMenuCoverNameTop: 84px; mainMenuCoverStatusLeft: 24px; mainMenuCoverStatusTop: 103px; mainMenuSkip: 6px; +mainMenuFooterHeightMin: 80px; mainMenu: Menu(defaultMenu) { itemFg: windowBoldFg; itemFgOver: windowBoldFgOver; diff --git a/Telegram/SourceFiles/window/window_main_menu.cpp b/Telegram/SourceFiles/window/window_main_menu.cpp index db88375f6..e409b2c24 100644 --- a/Telegram/SourceFiles/window/window_main_menu.cpp +++ b/Telegram/SourceFiles/window/window_main_menu.cpp @@ -1094,7 +1094,7 @@ void MainMenu::updateInnerControlsGeometry() { const auto available = height() - st::mainMenuCoverHeight - contentHeight; const auto footerHeight = std::max( available, - st::mainMenuTelegramBottom + _telegram->height() + st::mainMenuSkip); + st::mainMenuFooterHeightMin); if (_footer->height() != footerHeight) { _footer->resize(_footer->width(), footerHeight); }