more relative positionning in 1024x768 theme
This commit is contained in:
parent
98b1d68f52
commit
a94e9354e3
1 changed files with 17 additions and 13 deletions
|
@ -14,6 +14,7 @@ width=1024
|
|||
height=768
|
||||
|
||||
[screen]
|
||||
# this is only useful as a ref for other rects
|
||||
id=screen
|
||||
rect=0,0,1024,768
|
||||
[/screen]
|
||||
|
@ -42,12 +43,14 @@ height=768
|
|||
yanchor=fixed
|
||||
[/panel]
|
||||
[panel]
|
||||
id=middle-right-panel
|
||||
image=misc/rightside-bg.png
|
||||
rect==,+0,=,+421
|
||||
xanchor=right
|
||||
yanchor=top
|
||||
[/panel]
|
||||
[panel]
|
||||
id=bottom-right-panel
|
||||
image=misc/rightside-bottom.png
|
||||
rect==,+0,=,768
|
||||
xanchor=right
|
||||
|
@ -80,7 +83,7 @@ height=768
|
|||
[/menu]
|
||||
[mini_map]
|
||||
ref=top-right-panel
|
||||
rect==+10,=+7,=-7,175
|
||||
rect==+10,=+7,=-7,+143
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/mini_map]
|
||||
|
@ -88,7 +91,8 @@ height=768
|
|||
[menu]
|
||||
title= _ "End Turn"
|
||||
items=endturn
|
||||
rect=900,737
|
||||
ref=bottom-right-panel
|
||||
rect==+8,=+7
|
||||
xanchor=right
|
||||
yanchor=bottom
|
||||
[/menu]
|
||||
|
@ -202,7 +206,8 @@ height=768
|
|||
[status]
|
||||
# the time of day image
|
||||
[time_of_day]
|
||||
rect=892,184,1017,+39
|
||||
ref=top-right-panel
|
||||
rect==+10,=+159,=-7,+39
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/time_of_day]
|
||||
|
@ -276,7 +281,6 @@ height=768
|
|||
yanchor=fixed
|
||||
[/terrain]
|
||||
[position]
|
||||
id=position-text
|
||||
font_size=12
|
||||
rect=+5,=,+105,+16
|
||||
xanchor=proportional
|
||||
|
@ -285,7 +289,6 @@ height=768
|
|||
|
||||
[observers]
|
||||
font_size=12
|
||||
ref=position-text
|
||||
rect=+4,=-1,+16,+16
|
||||
xanchor=proportional
|
||||
yanchor=fixed
|
||||
|
@ -299,19 +302,20 @@ height=768
|
|||
[/unit_image]
|
||||
[unit_description]
|
||||
font_size=14
|
||||
rect==,+5,1022,+18
|
||||
ref=middle-right-panel
|
||||
rect==+9,=+3,=-2,+18
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/unit_description]
|
||||
[unit_type]
|
||||
font_size=12
|
||||
rect==,+0,1022,+16
|
||||
rect==,+0,=,+16
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/unit_type]
|
||||
[unit_level]
|
||||
font_size=12
|
||||
rect==,+0,1022,+16
|
||||
rect==,+0,=,+16
|
||||
prefix= _ "statuspanel^level"
|
||||
prefix_literal=" "
|
||||
xanchor=right
|
||||
|
@ -319,19 +323,19 @@ height=768
|
|||
[/unit_level]
|
||||
[unit_alignment]
|
||||
font_size=12
|
||||
rect==,+0,1022,+16
|
||||
rect==,+0,=,+16
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/unit_alignment]
|
||||
[unit_traits]
|
||||
font_size=12
|
||||
rect==,+0,1022,+16
|
||||
rect==,+0,=,+16
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/unit_traits]
|
||||
[unit_abilities]
|
||||
font_size=12
|
||||
rect==,+0,1022,+16
|
||||
rect==,+0,=,+16
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/unit_abilities]
|
||||
|
@ -351,7 +355,7 @@ height=768
|
|||
[/unit_moves]
|
||||
[unit_hp]
|
||||
font_size=12
|
||||
rect=967,246,1022,+14
|
||||
rect=967,246,=,+14
|
||||
#prefix=hp
|
||||
#prefix_literal=" "
|
||||
xanchor=right
|
||||
|
@ -368,7 +372,7 @@ height=768
|
|||
[unit_weapons]
|
||||
font_size=12
|
||||
#rect=900,452,1020,620
|
||||
rect=891,426,1022,594
|
||||
rect=891,426,=,594
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/unit_weapons]
|
||||
|
|
Loading…
Add table
Reference in a new issue