Files
OpenRA/mods/cnc/chrome/modchooser.yaml
Paul Chote 81515705ec Add keyboard shortcut support to ButtonWidgets.
Hook up 'escape' and 'return' as appropriate for moving through menus.
2011-05-30 22:15:14 +12:00

96 lines
1.6 KiB
YAML

Container@MODS_PANEL:
Id:MODS_PANEL
Logic:CncModBrowserLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - 500)/2
Width:740
Height:535
Children:
Label@TITLE:
Text:Select Mod
Width:740
Y:0-25
Font:BigBold
Contrast:true
Align:Center
Background@bg:
Width:740
Height:500
Background:panel-black
Children:
ScrollPanel@MOD_LIST:
Id:MOD_LIST
X:15
Y:30
Width:710
Height:455
Children:
ScrollItem@MOD_TEMPLATE:
Id:MOD_TEMPLATE
Width:PARENT_RIGHT-27
Height:25
X:2
Y:0
Visible:false
Children:
Label@TITLE:
X:10
Id:TITLE
Width:200
Height:25
Label@AUTHOR:
Id:AUTHOR
X:PARENT_RIGHT-300
Align:Center
Width:50
Height:25
Label@VERSION:
Id:VERSION
Width:140
X:PARENT_RIGHT-150
Align:Center
Height:25
Container@MOD_LABELS:
Width:710-25
Height:25
X:15
Y:5
Children:
Label@TITLE:
Width:125
Height:25
X:0
Y:0
Text:Title
Align:Center
Font:Bold
Label@AUTHOR:
X:PARENT_RIGHT-300
Align:Center
Width:50
Height:25
Text:Author
Font:Bold
Label@VERSION:
Width:140
X:PARENT_RIGHT-150
Align:Center
Height:25
Text:Version
Font:Bold
Button@BACK_BUTTON:
Id:BACK_BUTTON
Key:escape
X:0
Y:499
Width:140
Height:35
Text:Back
Button@LOAD_BUTTON:
Id:LOAD_BUTTON
Key:return
X:600
Y:499
Width:140
Height:35
Text:Load Mod