Skip to content

Commit

Permalink
Fixed about dialog size
Browse files Browse the repository at this point in the history
  • Loading branch information
SeongGino authored Jun 8, 2024
1 parent c29c355 commit 496be7b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
15 changes: 12 additions & 3 deletions about.ui
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,25 @@
<ui version="4.0">
<class>aboutDialog</class>
<widget class="QDialog" name="aboutDialog">
<property name="windowModality">
<enum>Qt::WindowModality::ApplicationModal</enum>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>369</width>
<height>258</height>
<width>370</width>
<height>260</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle">
<string>Dialog</string>
<string notr="true">About OpenFIRE</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
Expand Down
1 change: 1 addition & 0 deletions guiwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

0 comments on commit 496be7b

Please sign in to comment.