aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2004-08-06 23:02:13 +0000
committerMax Horn2004-08-06 23:02:13 +0000
commit7f574d4e8ef8611dd3f3d3aea6704618980fb3fb (patch)
tree92ec9ec18184962c96b6bfb31e2d6f934607bdcf
parentf697beafedd7aa7d192a5d8b58684cd5201044ce (diff)
downloadscummvm-rg350-7f574d4e8ef8611dd3f3d3aea6704618980fb3fb.tar.gz
scummvm-rg350-7f574d4e8ef8611dd3f3d3aea6704618980fb3fb.tar.bz2
scummvm-rg350-7f574d4e8ef8611dd3f3d3aea6704618980fb3fb.zip
Make the global savepath button match the look & feel of the 'local' one; fix bug #916498
svn-id: r14491
-rw-r--r--gui/options.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/gui/options.cpp b/gui/options.cpp
index b185bf001f..f26ba209c8 100644
--- a/gui/options.cpp
+++ b/gui/options.cpp
@@ -76,7 +76,6 @@ void OptionsDialog::open() {
if (_fullscreenCheckbox) {
_gfxPopUp->setSelected(0);
- _gfxPopUp->setEnabled(false);
if (ConfMan.hasKey("gfx_mode", _domain)) {
const OSystem::GraphicsMode *gm = g_system->getSupportedGraphicsModes();
@@ -397,9 +396,8 @@ GlobalOptionsDialog::GlobalOptionsDialog(GameDetector &detector)
#if !( defined(__DC__) || defined(__GP32__) )
// Save game path
- new StaticTextWidget(tab, 5, yoffset + 2, 100, kLineHeight, "Savegame path: ", kTextAlignRight);
- _savePath = new StaticTextWidget(tab, 105, yoffset + 2, 180, kLineHeight, "/foo/bar", kTextAlignLeft);
- new ButtonWidget(tab, 105, yoffset + 14, 64, 16, "Choose...", kChooseSaveDirCmd, 0);
+ new ButtonWidget(tab, 5, yoffset, kButtonWidth + 14, 16, "Save Path: ", kChooseSaveDirCmd, 0);
+ _savePath = new StaticTextWidget(tab, 5 + kButtonWidth + 20, yoffset + 3, _w - (5 + kButtonWidth + 20) - 10, kLineHeight, "/foo/bar", kTextAlignLeft);
#endif
// TODO: joystick setting