Files
OpenRA/mods/common/chrome/map-chooser.yaml

170 lines
3.4 KiB
YAML

Background@MAPCHOOSER_PANEL:
X: (WINDOW_RIGHT - WIDTH) / 2
Y: (WINDOW_BOTTOM - HEIGHT) / 2
Logic: MapChooserLogic
Width: 900
Height: 600
Children:
Label@MAPCHOOSER_TITLE:
Y: 17
Align: Center
Width: PARENT_RIGHT
Height: 20
Text: Choose Map
Font: Bold
Button@SYSTEM_MAPS_TAB_BUTTON:
X: 20
Y: 48
Height: 31
Width: 140
Text: Official Maps
Font: Bold
Button@USER_MAPS_TAB_BUTTON:
X: 160
Y: 48
Height: 31
Width: 140
Text: Custom Maps
Font: Bold
Container@MAP_TAB_PANES:
Width: PARENT_RIGHT - 40
Height: 438
X: 20
Y: 77
Children:
Container@SYSTEM_MAPS_TAB:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Children:
ScrollPanel@MAP_LIST:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Container@USER_MAPS_TAB:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Children:
ScrollPanel@MAP_LIST:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
ScrollItem@MAP_TEMPLATE:
Width: 208
Height: 266
X: 2
Visible: false
EnableChildMouseOver: True
Children:
MapPreview@PREVIEW:
X: (PARENT_RIGHT - WIDTH) / 2
Y: 3
Width: 202
Height: 202
IgnoreMouseOver: true
IgnoreMouseInput: true
LabelWithTooltip@TITLE:
X: 4
Y: PARENT_BOTTOM - HEIGHT - 39
Width: PARENT_RIGHT - 8
Height: 24
Align: Center
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
Label@DETAILS:
Width: PARENT_RIGHT - 8
Height: 12
X: 4
Y: PARENT_BOTTOM - HEIGHT - 30
Align: Center
Font: Tiny
LabelWithTooltip@AUTHOR:
Width: PARENT_RIGHT - 8
Height: 12
X: 4
Y: PARENT_BOTTOM - HEIGHT - 18
Align: Center
Font: Tiny
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
Label@SIZE:
Width: PARENT_RIGHT - 8
Height: 12
X: 4
Y: PARENT_BOTTOM - HEIGHT - 6
Align: Center
Font: Tiny
Container@FILTER_ORDER_CONTROLS:
X: 20
Y: PARENT_BOTTOM - 80
Width: PARENT_RIGHT - 40
Height: PARENT_BOTTOM
Children:
Label@FILTER_DESC:
Width: 40
Height: 24
Font: Bold
Align: Right
Text: Filter:
TextField@MAPFILTER_INPUT:
X: 45
Width: 150
Height: 25
Label@FILTER_DESC_JOINER:
X: 195
Width: 30
Height: 24
Font: Bold
Align: Center
Text: in
DropDownButton@GAMEMODE_FILTER:
X: 225
Width: 200
Height: 25
Label@ORDERBY_LABEL:
X: PARENT_RIGHT - WIDTH - 200 - 5
Width: 100
Height: 24
Font: Bold
Align: Right
Text: Order by:
DropDownButton@ORDERBY:
X: PARENT_RIGHT - WIDTH
Width: 200
Height: 25
Button@RANDOMMAP_BUTTON:
X: 20
Y: PARENT_BOTTOM - 45
Width: 120
Height: 25
Text: Random Map
Font: Bold
Button@DELETE_MAP_BUTTON:
X: 160
Y: PARENT_BOTTOM - 45
Width: 120
Height: 25
Text: Delete Map
Font: Bold
Button@DELETE_ALL_MAPS_BUTTON:
X: 300
Y: PARENT_BOTTOM - 45
Width: 120
Height: 25
Text: Delete All Maps
Font: Bold
Button@BUTTON_OK:
X: PARENT_RIGHT - 270
Y: PARENT_BOTTOM - 45
Width: 120
Height: 25
Text: Ok
Font: Bold
Key: return
Button@BUTTON_CANCEL:
X: PARENT_RIGHT - 140
Y: PARENT_BOTTOM - 45
Width: 120
Height: 25
Text: Back
Font: Bold
Key: escape
TooltipContainer@TOOLTIP_CONTAINER: