Files
OpenRA/mods/common/chrome/confirmation-dialogs.yaml
2019-06-21 12:51:45 +02:00

122 lines
2.1 KiB
YAML

Background@THREEBUTTON_PROMPT:
X: (WINDOW_RIGHT - WIDTH) / 2
Y: (WINDOW_BOTTOM - 90) / 2
Width: 600
Height: 110
Children:
Label@PROMPT_TITLE:
Width: PARENT_RIGHT
Y: 21
Height: 25
Font: Bold
Align: Center
Label@PROMPT_TEXT:
X: 15
Y: 51
Width: PARENT_RIGHT - 30
Height: 20
Align: Center
Button@CONFIRM_BUTTON:
X: 20
Y: PARENT_BOTTOM - 45
Width: 160
Height: 25
Text: Confirm
Font: Bold
Key: return
Visible: false
Button@OTHER_BUTTON:
X: PARENT_RIGHT - 380
Y: PARENT_BOTTOM - 45
Width: 160
Height: 25
Text: Restart
Font: Bold
Visible: false
Button@CANCEL_BUTTON:
X: PARENT_RIGHT - 180
Y: PARENT_BOTTOM - 45
Width: 160
Height: 25
Text: Cancel
Font: Bold
Key: escape
Visible: false
Background@TWOBUTTON_PROMPT:
X: (WINDOW_RIGHT - WIDTH) / 2
Y: (WINDOW_BOTTOM - 90) / 2
Width: 370
Height: 110
Children:
Label@PROMPT_TITLE:
Width: PARENT_RIGHT
Y: 21
Height: 25
Font: Bold
Align: Center
Label@PROMPT_TEXT:
X: 15
Y: 51
Width: PARENT_RIGHT - 30
Height: 20
Align: Center
Button@CONFIRM_BUTTON:
X: 20
Y: PARENT_BOTTOM - 45
Width: 160
Height: 25
Text: Confirm
Font: Bold
Key: return
Visible: false
Button@CANCEL_BUTTON:
X: PARENT_RIGHT - 180
Y: PARENT_BOTTOM - 45
Width: 160
Height: 25
Text: Cancel
Font: Bold
Key: escape
Visible: false
Background@TEXT_INPUT_PROMPT:
X: (WINDOW_RIGHT - WIDTH) / 2
Y: (WINDOW_BOTTOM - HEIGHT) / 2
Width: 370
Height: 175
Children:
Label@PROMPT_TITLE:
Width: PARENT_RIGHT
Y: 21
Height: 25
Font: Bold
Align: Center
Label@PROMPT_TEXT:
X: 20
Y: 51
Width: PARENT_RIGHT - 40
Height: 25
Align: Center
TextField@INPUT_TEXT:
X: 20
Y: 80
Width: PARENT_RIGHT - 40
Height: 25
Button@ACCEPT_BUTTON:
X: 20
Y: PARENT_BOTTOM - 45
Width: 160
Height: 25
Text: OK
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