aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorJohannes Schickel2013-02-03 00:44:14 +0100
committerJohannes Schickel2013-02-03 00:46:51 +0100
commit7dc15bc07053fc0d632e0bd987ee7b6b8b6f1666 (patch)
treeac5d0a1773c205f399ac61d8ef03fe53921ae19b /gui
parent1115c2b323717311e2192e23318338103bc0e4f4 (diff)
downloadscummvm-rg350-7dc15bc07053fc0d632e0bd987ee7b6b8b6f1666.tar.gz
scummvm-rg350-7dc15bc07053fc0d632e0bd987ee7b6b8b6f1666.tar.bz2
scummvm-rg350-7dc15bc07053fc0d632e0bd987ee7b6b8b6f1666.zip
GUI: Center Launcher.Version in all themes.
Now that we actually use the textalign field of Launcher.Version the version would be left aligned by default. This looks odd for the classic theme and the low resolution version of the modern theme and is contrary to the old "default" value, so I decided to center the string explicitly again.
Diffstat (limited to 'gui')
-rw-r--r--gui/themes/default.inc2
-rw-r--r--gui/themes/scummclassic.zipbin104007 -> 104059 bytes
-rw-r--r--gui/themes/scummclassic/classic_layout.stx1
-rw-r--r--gui/themes/scummclassic/classic_layout_lowres.stx1
-rw-r--r--gui/themes/scummmodern.zipbin1462312 -> 1462338 bytes
-rw-r--r--gui/themes/scummmodern/scummmodern_layout_lowres.stx1
6 files changed, 5 insertions, 0 deletions
diff --git a/gui/themes/default.inc b/gui/themes/default.inc
index b0db4735e7..6d8e6baac7 100644
--- a/gui/themes/default.inc
+++ b/gui/themes/default.inc
@@ -683,6 +683,7 @@
"<layout type='vertical' center='true' padding='6,6,2,2'> "
"<widget name='Version' "
"height='Globals.Line.Height' "
+"textalign='center' "
"/> "
"<layout type='horizontal' spacing='5' padding='0,0,0,0'> "
"<widget name='SearchDesc' "
@@ -1815,6 +1816,7 @@
"<layout type='vertical' center='true' padding='16,16,8,8'> "
"<widget name='Version' "
"height='Globals.Line.Height' "
+"textalign='center' "
"/> "
"<layout type='horizontal' spacing='5' padding='10,0,0,0'> "
"<widget name='SearchDesc' "
diff --git a/gui/themes/scummclassic.zip b/gui/themes/scummclassic.zip
index 3529288f23..297ff20344 100644
--- a/gui/themes/scummclassic.zip
+++ b/gui/themes/scummclassic.zip
Binary files differ
diff --git a/gui/themes/scummclassic/classic_layout.stx b/gui/themes/scummclassic/classic_layout.stx
index 656d7801cb..180e8fba74 100644
--- a/gui/themes/scummclassic/classic_layout.stx
+++ b/gui/themes/scummclassic/classic_layout.stx
@@ -107,6 +107,7 @@
<layout type = 'vertical' center = 'true' padding = '16, 16, 8, 8'>
<widget name = 'Version'
height = 'Globals.Line.Height'
+ textalign = 'center'
/>
<layout type = 'horizontal' spacing = '5' padding = '10, 0, 0, 0'>
<widget name = 'SearchDesc'
diff --git a/gui/themes/scummclassic/classic_layout_lowres.stx b/gui/themes/scummclassic/classic_layout_lowres.stx
index 097f4d6e44..8bb03dea17 100644
--- a/gui/themes/scummclassic/classic_layout_lowres.stx
+++ b/gui/themes/scummclassic/classic_layout_lowres.stx
@@ -105,6 +105,7 @@
<layout type = 'vertical' center = 'true' padding = '6, 6, 2, 2'>
<widget name = 'Version'
height = 'Globals.Line.Height'
+ textalign = 'center'
/>
<layout type = 'horizontal' spacing = '5' padding = '0, 0, 0, 0'>
<widget name = 'SearchDesc'
diff --git a/gui/themes/scummmodern.zip b/gui/themes/scummmodern.zip
index 8daabf87dc..dbd84992e6 100644
--- a/gui/themes/scummmodern.zip
+++ b/gui/themes/scummmodern.zip
Binary files differ
diff --git a/gui/themes/scummmodern/scummmodern_layout_lowres.stx b/gui/themes/scummmodern/scummmodern_layout_lowres.stx
index 5e6ba32a5d..9658402f82 100644
--- a/gui/themes/scummmodern/scummmodern_layout_lowres.stx
+++ b/gui/themes/scummmodern/scummmodern_layout_lowres.stx
@@ -103,6 +103,7 @@
<layout type = 'vertical' center = 'true' padding = '4, 4, 2, 2' spacing = '2'>
<widget name = 'Version'
height = 'Globals.Line.Height'
+ textalign = 'center'
/>
<layout type = 'horizontal' spacing = '5' padding = '0, 0, 2, 2'>
<widget name = 'SearchDesc'