Merge pull request #6514 from OZtistic/master

Simple resizing of Per-Game configuration window and removal of useless Help question mark button in the title bar
This commit is contained in:
Morph 2021-06-22 23:19:13 -04:00 committed by GitHub
commit c1a9fa9db7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View file

@ -47,6 +47,8 @@ ConfigurePerGame::ConfigurePerGame(QWidget* parent, u64 title_id, const std::str
ui->setupUi(this);
setFocusPolicy(Qt::ClickFocus);
setWindowTitle(tr("Properties"));
// remove Help question mark button from the title bar
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
ui->addonsTab->SetTitleId(title_id);

View file

@ -6,10 +6,15 @@
<rect>
<x>0</x>
<y>0</y>
<width>800</width>
<width>900</width>
<height>600</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>900</width>
</size>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>