some more fixes for tinygui:

* replay theme now working as expected

* unit images now working as expected

problems left:

village flags look really strange, someone will have to look at the
color stuff for those...
This commit is contained in:
Nils Kneuper 2008-02-12 15:31:50 +00:00
parent a120bc8b34
commit de4d8e2a84
2 changed files with 13 additions and 9 deletions

View file

@ -685,12 +685,13 @@
[change]
id=report_timeout
font_size={DEFAULT_FONT320_SMALL}
rect="+0,=,+50,+20"
rect="+0,=,+50,+16"
[/change]
[change]
id=time-icon
rect="=+3,=+1,+16,+8"
[/change]
# replay panel not wide enough, for the dirty hacks used see data/themes/macros.cfg
[change]
id=turn
@ -733,7 +734,7 @@
[/remove]
[change]
id=unit-image
rect="=+12,=+100,+20,+20"
rect="=+5,=+92,+36,+36"
[/change]
[change]
id=unit-description
@ -796,11 +797,6 @@
ref=label-xp
rect="=+8,+2,=,+8"
[/change]
#fix replay theme height
[change]
id=replay-panel
rect="=,+0,+882,+10"
[/change]
[/partialresolution]
[/theme]

View file

@ -33,14 +33,22 @@
[change]
id=main-map
ref=top-panel
rect="=,+26,+882,768"
#ifdef TINY
rect="=,+16,+946,768"
#else
rect="=,+26,+882,768"
#endif
[/change]
[add]
[panel]
id=replay-panel
image=themes/top-bg.png
ref=top-panel
rect="=,+0,+882,+26"
#ifdef TINY
rect="=,+0,+946,+16"
#else
rect="=,+0,+882,+26"
#endif
xanchor=left
yanchor=fixed
[/panel]