aboutsummaryrefslogtreecommitdiff
path: root/gui/themes/scummclassic
diff options
context:
space:
mode:
authorVicent Marti2008-08-15 17:40:58 +0000
committerVicent Marti2008-08-15 17:40:58 +0000
commit9aaf83df03276cc3428cd392dc6100a2bbe3579d (patch)
treeb1872e37dbc6c363c425c01a1e8f692aa646806d /gui/themes/scummclassic
parent9fc0a9b31e14092689a1c2a22eb5fc551416e87a (diff)
downloadscummvm-rg350-9aaf83df03276cc3428cd392dc6100a2bbe3579d.tar.gz
scummvm-rg350-9aaf83df03276cc3428cd392dc6100a2bbe3579d.tar.bz2
scummvm-rg350-9aaf83df03276cc3428cd392dc6100a2bbe3579d.zip
Added support for automatically resizing more than one widget in a flowing layout. Classic theme launcher now looks ok in g3x.
svn-id: r33906
Diffstat (limited to 'gui/themes/scummclassic')
-rw-r--r--gui/themes/scummclassic/classic_layout.stx7
-rw-r--r--gui/themes/scummclassic/classic_layout_320.stx11
2 files changed, 2 insertions, 16 deletions
diff --git a/gui/themes/scummclassic/classic_layout.stx b/gui/themes/scummclassic/classic_layout.stx
index 48c8c181ee..8be91e9de6 100644
--- a/gui/themes/scummclassic/classic_layout.stx
+++ b/gui/themes/scummclassic/classic_layout.stx
@@ -92,34 +92,27 @@
<widget name = 'GameList'/>
<layout type = 'horizontal' padding = '0, 0, 0, 0' spacing = '10'>
<widget name = 'AddGameButton'
- width = '190'
height = '20'
/>
<widget name = 'EditGameButton'
- width = '190'
height = '20'
/>
<widget name = 'RemoveGameButton'
- width = '190'
height = '20'
/>
</layout>
<space size = '12'/>
<layout type = 'horizontal' padding = '0, 0, 0, 0' spacing = '10'>
<widget name = 'QuitButton'
- width = '140'
height = '20'
/>
<widget name = 'AboutButton'
- width = '140'
height = '20'
/>
<widget name = 'OptionsButton'
- width = '140'
height = '20'
/>
<widget name = 'StartButton'
- width = '140'
height = '20'
/>
</layout>
diff --git a/gui/themes/scummclassic/classic_layout_320.stx b/gui/themes/scummclassic/classic_layout_320.stx
index 9608fad7b8..0a9c84c71b 100644
--- a/gui/themes/scummclassic/classic_layout_320.stx
+++ b/gui/themes/scummclassic/classic_layout_320.stx
@@ -88,34 +88,27 @@
<widget name = 'GameList'/>
<layout type = 'horizontal' padding = '0, 0, 0, 0' spacing = '10'>
<widget name = 'AddGameButton'
- width = '90'
height = '12'
/>
<widget name = 'EditGameButton'
- width = '90'
height = '12'
/>
<widget name = 'RemoveGameButton'
- width = '90'
height = '12'
/>
</layout>
<space size = '4'/>
<layout type = 'horizontal' padding = '0, 0, 0, 0' spacing = '10'>
<widget name = 'QuitButton'
- width = '65'
height = '12'
/>
<widget name = 'AboutButton'
- width = '65'
height = '12'
/>
<widget name = 'OptionsButton'
- width = '65'
height = '12'
/>
<widget name = 'StartButton'
- width = '65'
height = '12'
/>
</layout>
@@ -150,7 +143,7 @@
<dialog name = 'GlobalOptions' overlays = 'screen' inset = '16' shading = 'dim'>
<layout type = 'vertical' padding = '0, 0, 0, 0'>
<widget name = 'TabWidget'/>
- <layout type = 'horizontal' padding = '8, 8, 8, 2'>
+ <layout type = 'horizontal' padding = '8, 8, 8, 8'>
<space/>
<widget name = 'Cancel'
type = 'Button'
@@ -346,7 +339,7 @@
<dialog name = 'GameOptions' overlays = 'screen' inset = '16' shading = 'dim'>
<layout type = 'vertical' padding = '0, 0, 0, 0' spacing = '16'>
<widget name = 'TabWidget'/>
- <layout type = 'horizontal' padding = '8, 8, 8, 2'>
+ <layout type = 'horizontal' padding = '8, 8, 8, 8'>
<space/>
<widget name = 'Cancel'
type = 'Button'