Permalink
Browse files

Merge pull request #7070 from spycrab/qt_prop_width

Qt/PropertiesDialog: Fix tabs being cut off due to small window size
  • Loading branch information...
leoetlino committed Jun 4, 2018
2 parents 8fe7f8d + b3c3b58 commit d1e2cc7b9288e32b377d956dcaff5487cf3ba16a
Showing with 6 additions and 6 deletions.
  1. +6 −6 Source/Core/DolphinQt2/Config/PropertiesDialog.cpp
@@ -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);

0 comments on commit d1e2cc7

Please sign in to comment.