aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorEugene Sandulenko2006-05-18 13:40:35 +0000
committerEugene Sandulenko2006-05-18 13:40:35 +0000
commitbbb5f6813dab8a2b24fbde75ace2943b42f7cd9b (patch)
tree118f816fddbcb3145e8ac054bf604b7bafa72533 /gui
parent57e90daf1cef14d9a26970a6a42562d98f7e071a (diff)
downloadscummvm-rg350-bbb5f6813dab8a2b24fbde75ace2943b42f7cd9b.tar.gz
scummvm-rg350-bbb5f6813dab8a2b24fbde75ace2943b42f7cd9b.tar.bz2
scummvm-rg350-bbb5f6813dab8a2b24fbde75ace2943b42f7cd9b.zip
More GUI fixes:
- Center dialog title in scumm save/load dialog - more space in add game dialog between dialog header and selected path svn-id: r22517
Diffstat (limited to 'gui')
-rw-r--r--gui/theme-config.cpp1
-rw-r--r--gui/themes/modern.ini5
2 files changed, 4 insertions, 2 deletions
diff --git a/gui/theme-config.cpp b/gui/theme-config.cpp
index 3ae353f733..b7db6a4daa 100644
--- a/gui/theme-config.cpp
+++ b/gui/theme-config.cpp
@@ -288,6 +288,7 @@ const char *Theme::_defaultConfigINI =
"scummsaveload=8 8 (w - 2 * 8) (h - 16)\n"
"set_parent=scummsaveload\n"
"scummsaveload_title=10 2 (parent.w - 2 * 10 - 180) kLineHeight\n"
+"scummsaveload_title.align=kTextAlignCenter\n"
"scummsaveload_list=10 18 prev.w (parent.h - 17 - buttonHeight - 8 - self.y)\n"
"scummsaveload_thumbnail=(parent.w - (kThumbnailWidth + 22)) 18\n"
"scummsaveload_cancel=(parent.w - 2 * (buttonWidth + 10)) (parent.h - buttonHeight - 8) buttonWidth buttonHeight\n"
diff --git a/gui/themes/modern.ini b/gui/themes/modern.ini
index 3b688d679d..4a837ded16 100644
--- a/gui/themes/modern.ini
+++ b/gui/themes/modern.ini
@@ -194,9 +194,9 @@ useWithPrefix=chooser defaultChooser_
##### browser
browser=insetX insetY insetW insetH
set_parent=browser
-browser_headline=10 kLineHeight (parent.w - 2 * 10) kLineHeight
+browser_headline=10 5 (parent.w - 2 * 10) kLineHeight
browser_headline.align=kTextAlignCenter
-browser_path=10 prev.y2 prev.w prev.h
+browser_path=10 (prev.y2 + 5) prev.w prev.h
browser_list=10 prev.y2 prev.w (parent.h - 3 * kLineHeight - buttonHeight - 14)
browser_up=10 (parent.h - buttonHeight - 8) buttonWidth buttonHeight
browser_cancel=(parent.w - 2 * (buttonWidth + 10)) (parent.h - buttonHeight - 8) buttonWidth buttonHeight
@@ -378,6 +378,7 @@ scummhelp_close=(scummhelpW - 8 - shButtonWidth) prev.y prev.w prev.h
scummsaveload=8 8 (w - 2 * 8) (h - 16)
set_parent=scummsaveload
scummsaveload_title=10 2 (parent.w - 2 * 10 - 180) kLineHeight
+scummsaveload_title.align=kTextAlignCenter
scummsaveload_list=10 18 prev.w (parent.h - 17 - buttonHeight - 8 - self.y)
scummsaveload_thumbnail=(parent.w - (kThumbnailWidth + 22)) 18
scummsaveload_cancel=(parent.w - 2 * (buttonWidth + 10)) (parent.h - buttonHeight - 8) buttonWidth buttonHeight