Qt/PropertiesDialog: Fix tabs being cut off due to small window size

This commit is contained in:
spycrab 2018-06-04 21:11:55 +02:00
parent 5f29e891d3
commit b3c3b58aec
1 changed files with 6 additions and 6 deletions

View File

@ -44,16 +44,16 @@ PropertiesDialog::PropertiesDialog(QWidget* parent, const UICommon::GameFile& ga
connect(ar, &ARCodeWidget::OpenGeneralSettings, this, &PropertiesDialog::OpenGeneralSettings);
tab_widget->addTab(GetWrappedWidget(game_config, this, 50, 80), tr("Game Config"));
tab_widget->addTab(GetWrappedWidget(patches, this, 50, 80), tr("Patches"));
tab_widget->addTab(GetWrappedWidget(ar, this, 50, 80), tr("AR Codes"));
tab_widget->addTab(GetWrappedWidget(gecko, this, 50, 80), tr("Gecko Codes"));
tab_widget->addTab(GetWrappedWidget(info, this, 50, 80), tr("Info"));
tab_widget->addTab(GetWrappedWidget(game_config, this, 90, 80), tr("Game Config"));
tab_widget->addTab(GetWrappedWidget(patches, this, 90, 80), tr("Patches"));
tab_widget->addTab(GetWrappedWidget(ar, this, 90, 80), tr("AR Codes"));
tab_widget->addTab(GetWrappedWidget(gecko, this, 90, 80), tr("Gecko Codes"));
tab_widget->addTab(GetWrappedWidget(info, this, 90, 80), tr("Info"));
if (DiscIO::IsDisc(game.GetPlatform()))
{
FilesystemWidget* filesystem = new FilesystemWidget(game);
tab_widget->addTab(GetWrappedWidget(filesystem, this, 50, 80), tr("Filesystem"));
tab_widget->addTab(GetWrappedWidget(filesystem, this, 90, 80), tr("Filesystem"));
}
layout->addWidget(tab_widget);