Replays with MapPreview (like in Lobby)

This commit is contained in:
rob-v
2017-05-06 15:51:53 +02:00
committed by Paul Chote
parent 0e3cc1ad28
commit a26210f914
3 changed files with 44 additions and 100 deletions

View File

@@ -193,56 +193,25 @@ Container@REPLAYBROWSER_PANEL:
X: 10
Width: PARENT_RIGHT - 20
Height: 25
Container@MAP_BG_CONTAINER:
Container@MAP_PREVIEW_ROOT:
X: PARENT_RIGHT - WIDTH - 20
Y: 20
Y: 50
Width: 194
Height: 30 + 194
Children:
Label@MAP_BG_TITLE:
Width: PARENT_RIGHT
Height: 25
Text: Preview
Align: Center
Font: Bold
Background@MAP_BG:
Y: 30
Width: 194
Height: 194
Background: panel-gray
Children:
MapPreview@MAP_PREVIEW:
X: 1
Y: 1
Width: 192
Height: 192
TooltipContainer: TOOLTIP_CONTAINER
Height: 250
Container@REPLAY_INFO:
X: PARENT_RIGHT - WIDTH - 20
Y: 20 + 30 + 194 + 10
Y: 250
Width: 194
Height: PARENT_BOTTOM - 20 - 30 - 194 - 10 - 20
Height: PARENT_BOTTOM - 260
Children:
Label@MAP_TITLE:
Y: 0
Width: PARENT_RIGHT
Height: 15
Font: Bold
Align: Center
Label@MAP_TYPE:
Y: 15
Width: PARENT_RIGHT
Height: 15
Font: TinyBold
Align: Center
Label@DURATION:
Y: 30
Y: 20
Width: PARENT_RIGHT
Height: 15
Font: Tiny
Align: Center
ScrollPanel@PLAYER_LIST:
Y: 50
Y: 40
Width: PARENT_RIGHT
Height: PARENT_BOTTOM - 50
IgnoreChildMouseOver: true

View File

@@ -181,56 +181,25 @@ Background@REPLAYBROWSER_PANEL:
X: 10
Width: PARENT_RIGHT - 20
Height: 25
Container@MAP_BG_CONTAINER:
Container@MAP_PREVIEW_ROOT:
X: PARENT_RIGHT - WIDTH - 20
Y: 20
Y: 50
Width: 194
Height: 30 + 194
Children:
Label@MAP_BG_TITLE:
Width: PARENT_RIGHT
Height: 25
Text: Preview
Align: Center
Font: Bold
Background@MAP_BG:
Y: 30
Width: 194
Height: 194
Background: dialog3
Children:
MapPreview@MAP_PREVIEW:
X: 1
Y: 1
Width: 192
Height: 192
TooltipContainer: TOOLTIP_CONTAINER
Height: 250
Container@REPLAY_INFO:
X: PARENT_RIGHT - WIDTH - 20
Y: 20 + 30 + 194 + 10
Y: 250
Width: 194
Height: PARENT_BOTTOM - 20 - 30 - 194 - 10 - 55
Height: PARENT_BOTTOM - 250 - 45
Children:
Label@MAP_TITLE:
Y: 0
Width: PARENT_RIGHT
Height: 15
Font: Bold
Align: Center
Label@MAP_TYPE:
Y: 15
Width: PARENT_RIGHT
Height: 15
Font: TinyBold
Align: Center
Label@DURATION:
Y: 30
Y: 20
Width: PARENT_RIGHT
Height: 15
Font: Tiny
Align: Center
ScrollPanel@PLAYER_LIST:
Y: 50
Y: 40
Width: PARENT_RIGHT
Height: PARENT_BOTTOM - 50
IgnoreChildMouseOver: true