MessageDialog: Set minimum width
This commit is contained in:
parent
2b20ff4e67
commit
f4e18fb87c
|
@ -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);
|
||||
|
|
|
@ -120,7 +120,6 @@
|
|||
</layout>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="../../data/data.qrc"/>
|
||||
<include location="../../data/icons.qrc"/>
|
||||
</resources>
|
||||
<connections>
|
||||
|
|
Loading…
Reference in New Issue