aboutsummaryrefslogtreecommitdiff
path: root/gui/options.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2005-08-17 20:29:21 +0000
committerTorbjörn Andersson2005-08-17 20:29:21 +0000
commitdbd7fdd46bca56e9f77cfb689e6bb193fd9c6c3e (patch)
tree8a9dcfc33c9ded44f8085d70d91691543f5a1d3f /gui/options.cpp
parentce7eb15255f8c1391b048d2f1a391ad79de7457c (diff)
downloadscummvm-rg350-dbd7fdd46bca56e9f77cfb689e6bb193fd9c6c3e.tar.gz
scummvm-rg350-dbd7fdd46bca56e9f77cfb689e6bb193fd9c6c3e.tar.bz2
scummvm-rg350-dbd7fdd46bca56e9f77cfb689e6bb193fd9c6c3e.zip
Made the path buttons extra wide so that the text is not truncated in the
smaller version of the GUI. svn-id: r18701
Diffstat (limited to 'gui/options.cpp')
-rw-r--r--gui/options.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/gui/options.cpp b/gui/options.cpp
index 8e1af7fc35..1b1a1304ad 100644
--- a/gui/options.cpp
+++ b/gui/options.cpp
@@ -546,12 +546,15 @@ GlobalOptionsDialog::GlobalOptionsDialog()
yoffset = vBorder;
#if !( defined(__DC__) || defined(__GP32__) )
+ // These two buttons have to be extra wide, or the text will be
+ // truncated in the small version of the GUI.
+
// Save game path
- addButton(tab, 5, yoffset, "Save Path: ", kChooseSaveDirCmd, 0, ws);
+ new ButtonWidget(tab, 5, yoffset, buttonWidth + 5, buttonHeight, "Save Path: ", kChooseSaveDirCmd, 0, ws);
_savePath = new StaticTextWidget(tab, 5 + buttonWidth + 20, yoffset + 3, _w - (5 + buttonWidth + 20) - 10, kLineHeight, "/foo/bar", kTextAlignLeft, ws);
yoffset += buttonHeight + 4;
- addButton(tab, 5, yoffset, "Extra Path:", kChooseExtraDirCmd, 0, ws);
+ new ButtonWidget(tab, 5, yoffset, buttonWidth + 5, buttonHeight, "Extra Path:", kChooseExtraDirCmd, 0, ws);
_extraPath = new StaticTextWidget(tab, 5 + buttonWidth + 20, yoffset + 3, _w - (5 + buttonWidth + 20) - 10, kLineHeight, "None", kTextAlignLeft, ws);
yoffset += buttonHeight + 4;
#endif