Files
OpenRA/mods/ra/chrome/confirmation-dialogs.yaml
Pavlos Touboulidis 12e3ee9fda Issue #4650: Abort Mission Confirmation
Adapted the confirmation dialog from the CnC mod and wired it to
the "Abort" and "Surrender" buttons.
2014-04-22 17:42:24 +03:00

35 lines
596 B
YAML

Background@CONFIRM_PROMPT:
X: (WINDOW_RIGHT - WIDTH)/2
Y: (WINDOW_BOTTOM - 90)/2
Width: 370
Height: 175
Children:
Label@PROMPT_TITLE:
Width: PARENT_RIGHT
Y: 20
Height: 25
Font: Bold
Align: Center
Label@PROMPT_TEXT:
X: 15
Y: 50
Width: PARENT_RIGHT - 30
Height: 65
Align: Center
Button@CONFIRM_BUTTON:
X: 20
Y: PARENT_BOTTOM - 45
Width: 160
Height: 25
Text: Confirm
Font: Bold
Key: return
Button@CANCEL_BUTTON:
X: PARENT_RIGHT - 180
Y: PARENT_BOTTOM - 45
Width: 160
Height: 25
Text: Cancel
Font: Bold
Key: escape