MessageDialog: Set minimum width

This commit is contained in:
Jonas Kvinge 2023-09-24 15:08:35 +02:00
parent 2b20ff4e67
commit f4e18fb87c
2 changed files with 1 additions and 1 deletions

View File

@ -64,6 +64,7 @@ void MessageDialog::ShowMessage(const QString &title, const QString &message, co
ui_->label_text->setText(message);
ui_->label_text->adjustSize();
adjustSize();
setMinimumWidth(520);
if (parent_) {
Utilities::CenterWidgetOnScreen(Utilities::GetScreen(parent_), this);

View File

@ -120,7 +120,6 @@
</layout>
</widget>
<resources>
<include location="../../data/data.qrc"/>
<include location="../../data/icons.qrc"/>
</resources>
<connections>