diff options
Diffstat (limited to 'engines/scumm/dialogs.cpp')
-rw-r--r-- | engines/scumm/dialogs.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/scumm/dialogs.cpp b/engines/scumm/dialogs.cpp index 2331231285..4e1e4c303e 100644 --- a/engines/scumm/dialogs.cpp +++ b/engines/scumm/dialogs.cpp @@ -693,15 +693,18 @@ ConfigDialog::ConfigDialog(ScummEngine *scumm) GUI::WidgetSize ws; int buttonWidth; int buttonHeight; + int sliderHeight; if (screenW >= 400 && screenH >= 300) { ws = GUI::kBigWidgetSize; buttonWidth = kBigButtonWidth; buttonHeight = kBigButtonHeight; + sliderHeight = GUI::kBigSliderHeight; } else { ws = GUI::kNormalWidgetSize; buttonWidth = kButtonWidth; buttonHeight = kButtonHeight; + sliderHeight = GUI::kSliderHeight; } int yoffset = 8; @@ -710,7 +713,8 @@ ConfigDialog::ConfigDialog(ScummEngine *scumm) // Sound controllers // - yoffset = addVolumeControls(this, yoffset, ws) + 4; + addVolumeControls(this, "scummoptions_"); + yoffset += (sliderHeight + 4) * 8; // // Some misc options |