Qt/PropertiesDialog: Fix tabs being cut off due to small window size
This commit is contained in:
parent
5f29e891d3
commit
b3c3b58aec
|
@ -44,16 +44,16 @@ PropertiesDialog::PropertiesDialog(QWidget* parent, const UICommon::GameFile& ga
|
||||||
|
|
||||||
connect(ar, &ARCodeWidget::OpenGeneralSettings, this, &PropertiesDialog::OpenGeneralSettings);
|
connect(ar, &ARCodeWidget::OpenGeneralSettings, this, &PropertiesDialog::OpenGeneralSettings);
|
||||||
|
|
||||||
tab_widget->addTab(GetWrappedWidget(game_config, this, 50, 80), tr("Game Config"));
|
tab_widget->addTab(GetWrappedWidget(game_config, this, 90, 80), tr("Game Config"));
|
||||||
tab_widget->addTab(GetWrappedWidget(patches, this, 50, 80), tr("Patches"));
|
tab_widget->addTab(GetWrappedWidget(patches, this, 90, 80), tr("Patches"));
|
||||||
tab_widget->addTab(GetWrappedWidget(ar, this, 50, 80), tr("AR Codes"));
|
tab_widget->addTab(GetWrappedWidget(ar, this, 90, 80), tr("AR Codes"));
|
||||||
tab_widget->addTab(GetWrappedWidget(gecko, this, 50, 80), tr("Gecko Codes"));
|
tab_widget->addTab(GetWrappedWidget(gecko, this, 90, 80), tr("Gecko Codes"));
|
||||||
tab_widget->addTab(GetWrappedWidget(info, this, 50, 80), tr("Info"));
|
tab_widget->addTab(GetWrappedWidget(info, this, 90, 80), tr("Info"));
|
||||||
|
|
||||||
if (DiscIO::IsDisc(game.GetPlatform()))
|
if (DiscIO::IsDisc(game.GetPlatform()))
|
||||||
{
|
{
|
||||||
FilesystemWidget* filesystem = new FilesystemWidget(game);
|
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);
|
layout->addWidget(tab_widget);
|
||||||
|
|
Loading…
Reference in New Issue