Skip to content

Commit

Permalink
make web-apps resizeable
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxVerevkin committed Aug 24, 2024
1 parent 6b83c52 commit 40ab3f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Telegram/SourceFiles/ui/chat/attach/attach_bot_webview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ Panel::Panel(
, _widget(std::make_unique<SeparatePanel>())
, _allowClipboardRead(allowClipboardRead) {
_widget->setWindowFlag(Qt::WindowStaysOnTopHint, false);
_widget->setInnerSize(st::botWebViewPanelSize);
_widget->setInnerSize(st::botWebViewPanelSize, false);

_widget->closeRequests(
) | rpl::start_with_next([=] {
Expand Down

0 comments on commit 40ab3f2

Please sign in to comment.