aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-06-05 07:12:28 +0000
committerTorbjörn Andersson2006-06-05 07:12:28 +0000
commita2718bc0783bfd0353c81bf6fc9c6b70348d1228 (patch)
treea3543e619d2ec2a57b98a295828261e571f66cb2 /gui
parentd47f3a76fb0fd23463d90f592182fb81e4098d24 (diff)
downloadscummvm-rg350-a2718bc0783bfd0353c81bf6fc9c6b70348d1228.tar.gz
scummvm-rg350-a2718bc0783bfd0353c81bf6fc9c6b70348d1228.tar.bz2
scummvm-rg350-a2718bc0783bfd0353c81bf6fc9c6b70348d1228.zip
Base the width of the SCUMM options dialog, classic theme, on buttonWidth,
rather than hard-coding it. This should fix bug #1500674. svn-id: r22925
Diffstat (limited to 'gui')
-rw-r--r--gui/theme-config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/theme-config.cpp b/gui/theme-config.cpp
index 2e69d6da1b..19ed992fe4 100644
--- a/gui/theme-config.cpp
+++ b/gui/theme-config.cpp
@@ -264,7 +264,7 @@ const char *Theme::_defaultConfigINI =
"useWithPrefix=subtitleControls scummconfig_\n"
"opYoffset=(opYoffset + buttonHeight)\n"
"opYoffset=(opYoffset + buttonHeight + 4)\n"
-"soWidth=255\n"
+"soWidth=(38 + 3 * buttonWidth)\n"
"scummconfig_keys=(soWidth - 3 * (buttonWidth + 4) + 6) opYoffset (buttonWidth - 10) buttonHeight\n"
"scummconfig_cancel=(prev.x2 + 4) prev.y (prev.w + 10) prev.h\n"
"scummconfig_ok=(prev.x2 + 4) prev.y prev.w prev.h\n"