1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 17:59:56 +00:00

Use two columns when there is too many checkboxes in launcher's tab

This commit is contained in:
Andrei Kortunov 2020-08-21 12:52:26 +04:00
parent 8e566fa7ab
commit 7c9497c4de
2 changed files with 564 additions and 494 deletions

View file

@ -127,7 +127,7 @@ bool Launcher::AdvancedPage::loadSettings()
{
loadSettingBool(viewOverShoulderCheckBox, "view over shoulder", "Camera");
connect(viewOverShoulderCheckBox, SIGNAL(toggled(bool)), this, SLOT(slotViewOverShoulderToggled(bool)));
viewOverShoulderGroup->setEnabled(viewOverShoulderCheckBox->checkState());
viewOverShoulderVerticalLayout->setEnabled(viewOverShoulderCheckBox->checkState());
loadSettingBool(autoSwitchShoulderCheckBox, "auto switch shoulder", "Camera");
loadSettingBool(previewIfStandStillCheckBox, "preview if stand still", "Camera");
loadSettingBool(deferredPreviewRotationCheckBox, "deferred preview rotation", "Camera");
@ -339,5 +339,5 @@ void Launcher::AdvancedPage::slotAnimSourcesToggled(bool checked)
void Launcher::AdvancedPage::slotViewOverShoulderToggled(bool checked)
{
viewOverShoulderGroup->setEnabled(viewOverShoulderCheckBox->checkState());
viewOverShoulderVerticalLayout->setEnabled(viewOverShoulderCheckBox->checkState());
}

File diff suppressed because it is too large Load diff