mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Increase minimal main menu footer height.
This commit is contained in:
parent
d15af0c5f0
commit
1c060f40c1
2 changed files with 2 additions and 1 deletions
|
@ -116,6 +116,7 @@ mainMenuCoverNameTop: 84px;
|
|||
mainMenuCoverStatusLeft: 24px;
|
||||
mainMenuCoverStatusTop: 103px;
|
||||
mainMenuSkip: 6px;
|
||||
mainMenuFooterHeightMin: 80px;
|
||||
mainMenu: Menu(defaultMenu) {
|
||||
itemFg: windowBoldFg;
|
||||
itemFgOver: windowBoldFgOver;
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue