From 496be7bea95834c2901eea573d921f4b6d0b8617 Mon Sep 17 00:00:00 2001 From: That One Seong Date: Sat, 8 Jun 2024 18:12:17 +0000 Subject: [PATCH] Fixed about dialog size --- about.ui | 15 ++++++++++++--- guiwindow.cpp | 1 + 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/about.ui b/about.ui index 2329819..3bbe4c1 100644 --- a/about.ui +++ b/about.ui @@ -2,16 +2,25 @@ aboutDialog + + Qt::WindowModality::ApplicationModal + 0 0 - 369 - 258 + 370 + 260 + + + 0 + 0 + + - Dialog + About OpenFIRE diff --git a/guiwindow.cpp b/guiwindow.cpp index 9531cd3..0145baf 100644 --- a/guiwindow.cpp +++ b/guiwindow.cpp @@ -2228,5 +2228,6 @@ void guiWindow::on_actionAbout_UI_triggered() QDialog *about = new QDialog; Ui::aboutDialog aboutDialog; aboutDialog.setupUi(about); + about->setFixedSize(370, 260); about->show(); }