From 64975f2dd55dea6515bf5f5f56dafa431631cba3 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Sat, 3 Jan 2026 13:11:17 +0300 Subject: [PATCH] Increased height of all boxes with peer lists. --- Telegram/SourceFiles/boxes/peer_list_box.cpp | 5 ++++- Telegram/SourceFiles/boxes/peer_lists_box.cpp | 5 ++++- Telegram/lib_ui | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Telegram/SourceFiles/boxes/peer_list_box.cpp b/Telegram/SourceFiles/boxes/peer_list_box.cpp index 3f16259456..be9431cdf8 100644 --- a/Telegram/SourceFiles/boxes/peer_list_box.cpp +++ b/Telegram/SourceFiles/boxes/peer_list_box.cpp @@ -185,7 +185,10 @@ void PeerListBox::prepare() { object_ptr( this, _controller.get()), - st::boxScroll)); + st::boxScroll, + 0, + 0, + true /*alwaysKeepDimensionsToInner*/)); content()->resizeToWidth(_controller->contentWidth()); _controller->setDelegate(this); diff --git a/Telegram/SourceFiles/boxes/peer_lists_box.cpp b/Telegram/SourceFiles/boxes/peer_lists_box.cpp index 8a8a71ec9b..1459351c15 100644 --- a/Telegram/SourceFiles/boxes/peer_lists_box.cpp +++ b/Telegram/SourceFiles/boxes/peer_lists_box.cpp @@ -148,7 +148,10 @@ void PeerListsBox::updateScrollSkips() { void PeerListsBox::prepare() { auto rows = setInnerWidget( object_ptr(this), - st::boxScroll); + st::boxScroll, + 0, + 0, + true /*alwaysKeepDimensionsToInner*/); for (auto &list : _lists) { const auto content = rows->add(object_ptr( rows, diff --git a/Telegram/lib_ui b/Telegram/lib_ui index 75653c3dee..3faf86b9cf 160000 --- a/Telegram/lib_ui +++ b/Telegram/lib_ui @@ -1 +1 @@ -Subproject commit 75653c3dee773b5561b45ef789ced215cc09f40d +Subproject commit 3faf86b9cf9befa9307bbb47833578a68ef18ea0