From a2718bc0783bfd0353c81bf6fc9c6b70348d1228 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Mon, 5 Jun 2006 07:12:28 +0000 Subject: 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 --- gui/theme-config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui/theme-config.cpp') 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" -- cgit v1.2.3