Fix ingame menu tab display.

This commit is contained in:
Paul Chote
2021-07-05 21:11:56 +01:00
committed by Smittytron
parent 29f4f5a0cd
commit edd3a2eb75
5 changed files with 232 additions and 95 deletions

View File

@@ -20,31 +20,84 @@ Container@GAME_INFO_PANEL:
Align: Center
Font: BigBold
Contrast: true
Container@TAB_CONTAINER:
Container@TAB_CONTAINER_2:
Visible: False
Children:
Button@BUTTON1:
Y: 5
Width: 140
Height: 35
Button@BUTTON2:
X: 150
Y: 5
Width: 140
Height: 35
Container@TAB_CONTAINER_3:
Visible: False
Children:
Button@BUTTON1:
Y: 5
Width: 140
Height: 35
Visible: False
Button@BUTTON2:
X: 150
Y: 5
Width: 140
Height: 35
Visible: False
Button@BUTTON3:
X: 300
Y: 5
Width: 140
Height: 35
Visible: False
Button@BUTTON4:
X: 450
Container@TAB_CONTAINER_4:
Visible: False
Children:
Button@BUTTON1:
Y: 5
Width: 140
Width: 121
Height: 35
Button@BUTTON2:
X: 131
Y: 5
Width: 120
Height: 35
Button@BUTTON3:
X: 261
Y: 5
Width: 120
Height: 35
Button@BUTTON4:
X: 391
Y: 5
Width: 121
Height: 35
Container@TAB_CONTAINER_5:
Visible: False
Children:
Button@BUTTON1:
Y: 5
Width: 99
Height: 35
Button@BUTTON2:
X: 104
Y: 5
Width: 98
Height: 35
Button@BUTTON3:
X: 207
Y: 5
Width: 98
Height: 35
Button@BUTTON4:
X: 310
Y: 5
Width: 98
Height: 35
Button@BUTTON5:
X: 413
Y: 5
Width: 99
Height: 35
Visible: False
Background@BACKGROUND:
Y: 39
Width: PARENT_RIGHT

View File

@@ -25,38 +25,110 @@ Container@GAME_INFO_PANEL:
Height: 25
Align: Center
Font: Bold
Container@TAB_CONTAINER:
Container@TAB_CONTAINER_2:
X: (PARENT_RIGHT - WIDTH) / 2
Width: 280
Height: 25
Visible: False
Children:
Button@BUTTON1:
Y: 50
Width: 140
Height: 25
Font: Bold
Button@BUTTON2:
X: 140
Y: 50
Width: 140
Height: 25
Font: Bold
Container@TAB_CONTAINER_3:
X: (PARENT_RIGHT - WIDTH) / 2
Width: 360
Height: 25
Visible: False
Children:
Button@BUTTON1:
Y: 50
Width: 120
Height: 25
Font: Bold
Button@BUTTON2:
X: 120
Y: 50
Width: 120
Height: 25
Font: Bold
Button@BUTTON3:
X: 240
Y: 50
Width: 120
Height: 25
Font: Bold
Container@TAB_CONTAINER_4:
X: (PARENT_RIGHT - WIDTH) / 2
Width: 480
Height: 25
Visible: False
Children:
Button@BUTTON1:
Y: 50
Width: 120
Height: 25
Font: Bold
Visible: False
Button@BUTTON2:
X: 120
Y: 50
Width: 120
Height: 25
Font: Bold
Visible: False
Button@BUTTON3:
X: 240
Y: 50
Width: 120
Height: 25
Font: Bold
Visible: False
Button@BUTTON4:
X: 360
Y: 50
Width: 120
Height: 25
Font: Bold
Visible: False
Container@TAB_CONTAINER_5:
X: (PARENT_RIGHT - WIDTH) / 2
Width: 480
Height: 25
Visible: False
Children:
Button@BUTTON1:
Y: 50
Width: 96
Height: 25
Font: Bold
Button@BUTTON2:
X: 96
Y: 50
Width: 96
Height: 25
Font: Bold
Button@BUTTON3:
X: 192
Y: 50
Width: 96
Height: 25
Font: Bold
Button@BUTTON4:
X: 288
Y: 50
Width: 96
Height: 25
Font: Bold
Button@BUTTON5:
X: 384
Y: 50
Width: 96
Height: 25
Font: Bold
Container@STATS_PANEL:
Y: 65
Container@MAP_PANEL: