diff --git a/CHANGELOG.md b/CHANGELOG.md index 326c74b9..87f271d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## Unversioned +- Minor: Fixed usercard resizing improperly without recent messages. (#6496) - Dev: Make code sanitizers opt in with the `CHATTERINO_SANITIZER_SUPPORT` CMake option. After that's enabled, use the `SANITIZE_*` flag to enable individual sanitizers. (#6493) - Dev: Fix 32-bit compile in PluginRepl. (#6483) diff --git a/src/widgets/dialogs/UserInfoPopup.cpp b/src/widgets/dialogs/UserInfoPopup.cpp index c9994164..f388ceb8 100644 --- a/src/widgets/dialogs/UserInfoPopup.cpp +++ b/src/widgets/dialogs/UserInfoPopup.cpp @@ -587,6 +587,8 @@ UserInfoPopup::UserInfoPopup(bool closeAutomatically, Split *split) { this->ui_.noMessagesLabel = new Label("No recent messages"); this->ui_.noMessagesLabel->setVisible(false); + this->ui_.noMessagesLabel->setSizePolicy(QSizePolicy::Expanding, + QSizePolicy::Expanding); this->ui_.latestMessages = new ChannelView(this, this->split_, ChannelView::Context::UserCard,