Update TD game info panel to match the settings panel

This commit is contained in:
Ivaylo Draganov
2021-09-22 17:00:09 +03:00
committed by reaperrr
parent 3ecaf76804
commit 955464ee1d
6 changed files with 62 additions and 58 deletions

View File

@@ -7,41 +7,56 @@ Container@LOBBY_OPTIONS_PANEL:
X: 15 X: 15
Y: 15 Y: 15
Width: 482 Width: 482
Height: 345 Height: 375
Children: Children:
Container@LOBBY_OPTIONS: Container@LOBBY_OPTIONS:
X: 18 Y: 10
Y: 9 Width: PARENT_RIGHT - 24
Width: PARENT_RIGHT - 24 - 18
Children: Children:
Container@CHECKBOX_ROW_TEMPLATE: Container@CHECKBOX_ROW_TEMPLATE:
Height: 34 Width: PARENT_RIGHT
Height: 30
Children: Children:
Checkbox@A: Checkbox@A:
Width: 220 X: 10
Width: PARENT_RIGHT / 2 - 20
Height: 20 Height: 20
Font: Regular Font: Regular
Visible: False Visible: False
TooltipContainer: TOOLTIP_CONTAINER TooltipContainer: TOOLTIP_CONTAINER
Checkbox@B: Checkbox@B:
X: 225 X: PARENT_RIGHT / 2 + 10
Width: 220 Width: PARENT_RIGHT / 2 - 20
Height: 20 Height: 20
Font: Regular Font: Regular
Visible: False Visible: False
TooltipContainer: TOOLTIP_CONTAINER TooltipContainer: TOOLTIP_CONTAINER
Container@DROPDOWN_ROW_TEMPLATE: Container@DROPDOWN_ROW_TEMPLATE:
Height: 34 Height: 60
Width: PARENT_RIGHT Width: PARENT_RIGHT
Children: Children:
Label@A_DESC: Label@A_DESC:
Width: 140 X: 10
Height: 25 Width: PARENT_RIGHT / 2 - 20
Align: Right Height: 20
Visible: False Visible: False
DropDownButton@A: DropDownButton@A:
X: 145 X: 10
Width: 180 Y: 25
Width: PARENT_RIGHT / 2 - 20
Height: 25
Font: Regular
Visible: False
TooltipContainer: TOOLTIP_CONTAINER
Label@B_DESC:
X: PARENT_RIGHT / 2 + 10
Width: PARENT_RIGHT / 2 - 20
Height: 20
Visible: False
DropDownButton@B:
X: PARENT_RIGHT / 2 + 10
Y: 25
Width: PARENT_RIGHT / 2 - 20
Height: 25 Height: 25
Font: Regular Font: Regular
Visible: False Visible: False

View File

@@ -2,97 +2,86 @@ Container@GAME_INFO_PANEL:
X: (WINDOW_RIGHT - WIDTH) / 2 X: (WINDOW_RIGHT - WIDTH) / 2
Y: (WINDOW_BOTTOM - HEIGHT) / 2 Y: (WINDOW_BOTTOM - HEIGHT) / 2
Width: 512 Width: 512
Height: 405 Height: 435
Logic: GameInfoLogic Logic: GameInfoLogic
Visible: False Visible: False
Children: Children:
Label@TITLE: Label@TITLE:
Width: PARENT_RIGHT Width: PARENT_RIGHT
Y: 0 - 17 Y: 0 - 22
Text: Game Information Text: Game Information
Align: Center Align: Center
Font: BigBold Font: BigBold
Contrast: true Contrast: true
Container@TAB_CONTAINER_2: Container@TAB_CONTAINER_2:
X: 0 - 140 + 1
Visible: False Visible: False
Children: Children:
Button@BUTTON1: Button@BUTTON1:
Y: 5
Width: 140 Width: 140
Height: 35 Height: 35
Button@BUTTON2: Button@BUTTON2:
X: 150 Y: 45
Y: 5
Width: 140 Width: 140
Height: 35 Height: 35
Container@TAB_CONTAINER_3: Container@TAB_CONTAINER_3:
X: 0 - 140 + 1
Visible: False Visible: False
Children: Children:
Button@BUTTON1: Button@BUTTON1:
Y: 5
Width: 140 Width: 140
Height: 35 Height: 35
Button@BUTTON2: Button@BUTTON2:
X: 150 Y: 45
Y: 5
Width: 140 Width: 140
Height: 35 Height: 35
Button@BUTTON3: Button@BUTTON3:
X: 300 Y: 90
Y: 5
Width: 140 Width: 140
Height: 35 Height: 35
Container@TAB_CONTAINER_4: Container@TAB_CONTAINER_4:
X: 0 - 140 + 1
Visible: False Visible: False
Children: Children:
Button@BUTTON1: Button@BUTTON1:
Y: 5 Width: 140
Width: 121
Height: 35 Height: 35
Button@BUTTON2: Button@BUTTON2:
X: 131 Y: 45
Y: 5 Width: 140
Width: 120
Height: 35 Height: 35
Button@BUTTON3: Button@BUTTON3:
X: 261 Y: 90
Y: 5 Width: 140
Width: 120
Height: 35 Height: 35
Button@BUTTON4: Button@BUTTON4:
X: 391 Y: 135
Y: 5 Width: 140
Width: 121
Height: 35 Height: 35
Container@TAB_CONTAINER_5: Container@TAB_CONTAINER_5:
X: 0 - 140 + 1
Visible: False Visible: False
Children: Children:
Button@BUTTON1: Button@BUTTON1:
Y: 5 Width: 140
Width: 99
Height: 35 Height: 35
Button@BUTTON2: Button@BUTTON2:
X: 104 Y: 45
Y: 5 Width: 140
Width: 98
Height: 35 Height: 35
Button@BUTTON3: Button@BUTTON3:
X: 207 Y: 90
Y: 5 Width: 140
Width: 98
Height: 35 Height: 35
Button@BUTTON4: Button@BUTTON4:
X: 310 Y: 135
Y: 5 Width: 140
Width: 98
Height: 35 Height: 35
Button@BUTTON5: Button@BUTTON5:
X: 413 Y: 180
Y: 5 Width: 140
Width: 99
Height: 35 Height: 35
Background@BACKGROUND: Background@BACKGROUND:
Y: 39
Width: PARENT_RIGHT Width: PARENT_RIGHT
Height: PARENT_BOTTOM Height: PARENT_BOTTOM
Background: panel-black Background: panel-black

View File

@@ -22,7 +22,7 @@ Container@MAP_PANEL:
X: 15 X: 15
Y: 228 Y: 228
Width: 482 Width: 482
Height: 132 Height: 162
Children: Children:
Label@MAP_DESCRIPTION: Label@MAP_DESCRIPTION:
X: 4 X: 4

View File

@@ -1,7 +1,8 @@
Container@CHAT_CONTAINER: Container@CHAT_CONTAINER:
Y: 10 X: 15
Width: PARENT_RIGHT Y: 15
Height: PARENT_BOTTOM - 20 Width: PARENT_RIGHT - 30
Height: PARENT_BOTTOM - 30
Logic: IngameChatLogic Logic: IngameChatLogic
Templates: Templates:
Chat: CHAT_LINE_TEMPLATE Chat: CHAT_LINE_TEMPLATE
@@ -9,8 +10,7 @@ Container@CHAT_CONTAINER:
Mission: CHAT_LINE_TEMPLATE Mission: CHAT_LINE_TEMPLATE
Children: Children:
Container@CHAT_CHROME: Container@CHAT_CHROME:
X: 15 Width: PARENT_RIGHT
Width: PARENT_RIGHT - 30
Height: PARENT_BOTTOM Height: PARENT_BOTTOM
Children: Children:
Button@CHAT_MODE: Button@CHAT_MODE:

View File

@@ -20,7 +20,7 @@ Container@MISSION_OBJECTIVES:
X: 15 X: 15
Y: 50 Y: 50
Width: 482 Width: 482
Height: 310 Height: 340
TopBottomSpacing: 15 TopBottomSpacing: 15
ItemSpacing: 15 ItemSpacing: 15
Children: Children:

View File

@@ -59,7 +59,7 @@ Container@SKIRMISH_STATS:
X: 15 X: 15
Y: 105 Y: 105
Width: 482 Width: 482
Height: 255 Height: 285
ItemSpacing: 5 ItemSpacing: 5
Children: Children:
ScrollItem@TEAM_TEMPLATE: ScrollItem@TEAM_TEMPLATE: