From 40ab3f258e7b47190e0c5ca0d220c820ff9ae684 Mon Sep 17 00:00:00 2001 From: MaxVerevkin Date: Sat, 24 Aug 2024 22:05:43 +0300 Subject: [PATCH] make web-apps resizeable --- Telegram/SourceFiles/ui/chat/attach/attach_bot_webview.cpp | 2 +- Telegram/lib_ui | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/ui/chat/attach/attach_bot_webview.cpp b/Telegram/SourceFiles/ui/chat/attach/attach_bot_webview.cpp index 2e8f3f3456057..0084081e7ad42 100644 --- a/Telegram/SourceFiles/ui/chat/attach/attach_bot_webview.cpp +++ b/Telegram/SourceFiles/ui/chat/attach/attach_bot_webview.cpp @@ -328,7 +328,7 @@ Panel::Panel( , _widget(std::make_unique()) , _allowClipboardRead(allowClipboardRead) { _widget->setWindowFlag(Qt::WindowStaysOnTopHint, false); - _widget->setInnerSize(st::botWebViewPanelSize); + _widget->setInnerSize(st::botWebViewPanelSize, false); _widget->closeRequests( ) | rpl::start_with_next([=] { diff --git a/Telegram/lib_ui b/Telegram/lib_ui index 47ec1b0455ac1..06952d07ba2d1 160000 --- a/Telegram/lib_ui +++ b/Telegram/lib_ui @@ -1 +1 @@ -Subproject commit 47ec1b0455ac1f2faab68a4c859baab7eef9e136 +Subproject commit 06952d07ba2d11b16c6c1a84a113ef1a68bb6b36