Polish the diplomacy panel layout.

This commit is contained in:
Paul Chote
2013-08-18 11:15:55 +12:00
committed by Matthias Mailänder
parent 60b3601ffa
commit 52d9a7a31b
2 changed files with 73 additions and 85 deletions

View File

@@ -1,72 +1,62 @@
Container@DIPLOMACY: Background@DIPLOMACY:
Logic:DiplomacyLogic Logic:DiplomacyLogic
X:25 X:25
Y:50 Y:50
Width:540 Width:490
Height:400 Height:300
Visible:false Visible:false
Children:
Background@DIPLOMACY_BG:
Width:PARENT_RIGHT
Height:PARENT_BOTTOM
Children: Children:
Label@LABEL_TITLE: Label@LABEL_TITLE:
X:(PARENT_RIGHT - WIDTH)/2 X:(PARENT_RIGHT - WIDTH)/2
Y:10 Y:17
Width:250 Width:250
Height:25 Height:20
Text:Diplomacy Text:Diplomacy
Align:Center Align:Center
Font:Bold Font:Bold
Container@DIPLOMACY_HEADERS: Container@DIPLOMACY_HEADERS:
X:0 X:20
Y:0 Y:40
Width:PARENT_RIGHT Width:PARENT_RIGHT-40
Height:PARENT_BOTTOM Height:PARENT_BOTTOM
Children: Children:
Label@PLAYER_HEADER: Label@PLAYER_HEADER:
X:45 X:20
Y:40
Width:160 Width:160
Height:25 Height:25
Font:Bold Font:Bold
Text:Player Text:Player
Label@THEIR_STANCE_HEADER: Label@THEIR_STANCE_HEADER:
X:265 X:210
Y:40
Width:80 Width:80
Height:25 Height:25
Font:Bold Font:Bold
Text:Their Stance Text:Their Stance
Align:Center
Label@MY_STANCE_HEADER: Label@MY_STANCE_HEADER:
X:385 X:307
Y:40 Width:100
Width:60
Height:25 Height:25
Font:Bold Font:Bold
Text:My Stance Text:My Stance
Align:Center
ScrollPanel@DIPLOMACY_PANEL: ScrollPanel@DIPLOMACY_PANEL:
X:25 X:20
Y:70 Y:67
Width:PARENT_RIGHT-50 Width:PARENT_RIGHT-40
Height:PARENT_BOTTOM-45-50 Height:PARENT_BOTTOM-87
ItemSpacing:5 ItemSpacing:5
Children: Children:
ScrollItem@TEAM_TEMPLATE: ScrollItem@TEAM_TEMPLATE:
X:0 Width:PARENT_RIGHT
Y:0
Width:PARENT_RIGHT-35
Height:25 Height:25
Children: Children:
Label@TEAM: Label@TEAM:
X:10 X:10
Y:0
Width:PARENT_RIGHT Width:PARENT_RIGHT
Height:PARENT_BOTTOM Height:PARENT_BOTTOM
Font:Bold Font:Bold
ScrollItem@PLAYER_TEMPLATE: ScrollItem@PLAYER_TEMPLATE:
X:0
Y:0
Width:PARENT_RIGHT-35 Width:PARENT_RIGHT-35
Height:25 Height:25
Children: Children:
@@ -79,17 +69,15 @@ Container@DIPLOMACY:
ImageCollection:flags ImageCollection:flags
Label@PLAYER: Label@PLAYER:
X:55 X:55
Y:0
Width:160 Width:160
Height:PARENT_BOTTOM Height:PARENT_BOTTOM
Font:Bold Font:Bold
Label@THEIR_STANCE: Label@THEIR_STANCE:
X:265 X:210
Y:0
Width:80 Width:80
Height:PARENT_BOTTOM Height:PARENT_BOTTOM
Align:Center
DropDownButton@MY_STANCE: DropDownButton@MY_STANCE:
X:345 X:307
Y:0
Width:100 Width:100
Height:PARENT_BOTTOM Height:PARENT_BOTTOM

View File

@@ -81,23 +81,23 @@ Background@LOBBY_OPTIONS_BIN:
Height:20 Height:20
Text:Fog of War Text:Fog of War
Checkbox@CRATES_CHECKBOX: Checkbox@CRATES_CHECKBOX:
X:155 X:125
Width:230 Width:230
Height:20 Height:20
Text:Crates Appear Text:Crates Appear
Checkbox@ALLYBUILDRADIUS_CHECKBOX: Checkbox@ALLYBUILDRADIUS_CHECKBOX:
X:155 X:125
Y:40 Y:40
Width:230 Width:230
Height:20 Height:20
Text:Build off Ally ConYards Text:Build off Ally ConYards
Checkbox@ALLOWCHEATS_CHECKBOX: Checkbox@ALLOWCHEATS_CHECKBOX:
X:350 X:320
Width:230 Width:230
Height:20 Height:20
Text:Debug Menu Text:Debug Menu
Checkbox@FRAGILEALLIANCES_CHECKBOX: Checkbox@FRAGILEALLIANCES_CHECKBOX:
X:350 X:320
Y:40 Y:40
Width:220 Width:220
Height:20 Height:20