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
This commit is contained in:
Torbjörn Andersson 2006-06-05 07:12:28 +00:00
parent d47f3a76fb
commit a2718bc078

View File

@ -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"