aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2007-06-25 07:13:53 +0000
committerEugene Sandulenko2007-06-25 07:13:53 +0000
commit0d467367d2b02787dfab9418f11b0f39cf106213 (patch)
tree0bbc10de7475bd4431443c138b17db29a6305a03
parent22f06325d47783f2b4b24300b7ef804cc46b6c68 (diff)
downloadscummvm-rg350-0d467367d2b02787dfab9418f11b0f39cf106213.tar.gz
scummvm-rg350-0d467367d2b02787dfab9418f11b0f39cf106213.tar.bz2
scummvm-rg350-0d467367d2b02787dfab9418f11b0f39cf106213.zip
Patch from bugreport #1742561: "GUI: Missaligned text"
svn-id: r27699
-rw-r--r--gui/theme-config.cpp1
-rw-r--r--gui/themes/classic080.ini1
-rw-r--r--gui/themes/modern.ini1
3 files changed, 3 insertions, 0 deletions
diff --git a/gui/theme-config.cpp b/gui/theme-config.cpp
index c12ca009da..03dc385162 100644
--- a/gui/theme-config.cpp
+++ b/gui/theme-config.cpp
@@ -445,6 +445,7 @@ const char *Theme::_defaultConfigINI =
"sbtextw=(100 + vcAudioTabIndent)\n"
"opYoffset=(opYoffset + sbYoff)\n"
"subToggleDesc=sbx (opYoffset + sbYoff) sbtextw buttonHeight\n"
+"subToggleDesc.align=kTextAlignRight\n"
"subToggleButton=prev.x2 (opYoffset - sbYoff) (buttonWidth + 54) buttonHeight\n"
"opYoffset=(opYoffset + buttonHeight + 6)\n"
"subSubtitleSpeedDesc=sbx (opYoffset + sbOff) sbtextw kLineHeight\n"
diff --git a/gui/themes/classic080.ini b/gui/themes/classic080.ini
index 481d00c27a..2e48dbc7e7 100644
--- a/gui/themes/classic080.ini
+++ b/gui/themes/classic080.ini
@@ -363,6 +363,7 @@ sbOff=((sliderHeight - kLineHeight) / 2 + 2)
sbtextw=(100 + vcAudioTabIndent)
opYoffset=(opYoffset + sbYoff)
subToggleDesc=sbx (opYoffset + sbYoff) sbtextw buttonHeight
+subToggleDesc.align=kTextAlignRight
subToggleButton=prev.x2 (opYoffset - sbYoff) (buttonWidth + 54) buttonHeight
opYoffset=(opYoffset + buttonHeight + 6)
subSubtitleSpeedDesc=sbx (opYoffset + sbOff) sbtextw kLineHeight
diff --git a/gui/themes/modern.ini b/gui/themes/modern.ini
index 25fd8da01d..240da88bc1 100644
--- a/gui/themes/modern.ini
+++ b/gui/themes/modern.ini
@@ -537,6 +537,7 @@ sbYoff=(buttonHeight / 8)
sbOff=((sliderHeight - kLineHeight) / 2)
opYoffset=(opYoffset + sbYoff)
subToggleDesc=sbx (opYoffset + sbYoff) sbtextw buttonHeight
+subToggleDesc.align=kTextAlignRight
subToggleButton=prev.x2 opYoffset (buttonWidth + 34) sliderHeight
opYoffset=(opYoffset + buttonHeight + 6)
subSubtitleSpeedDesc=sbx (opYoffset + sbOff) sbtextw kLineHeight