Files
OpenRA/mods/common/chrome/confirmation-dialogs.yaml
Ivaylo Draganov 79ae71a517 Rename *_RIGHT to *_WIDTH and *_BOTTOM to *_HEIGHT in integer expressions for widgets
The terms "width" and "height" are clearer and they match what the values actually represent (window or parent width/height). The YAML changes are generated with the update rule.
2024-10-07 12:59:25 +03:00

122 lines
2.2 KiB
YAML

Background@THREEBUTTON_PROMPT:
X: (WINDOW_WIDTH - WIDTH) / 2
Y: (WINDOW_HEIGHT - 90) / 2
Width: 600
Height: 110
Children:
Label@PROMPT_TITLE:
Width: PARENT_WIDTH
Y: 21
Height: 25
Font: Bold
Align: Center
Label@PROMPT_TEXT:
X: 15
Y: 51
Width: PARENT_WIDTH - 30
Height: 20
Align: Center
Button@CONFIRM_BUTTON:
X: 20
Y: PARENT_HEIGHT - 45
Width: 160
Height: 25
Text: button-prompt-confirm
Font: Bold
Key: return
Visible: false
Button@OTHER_BUTTON:
X: PARENT_WIDTH - 380
Y: PARENT_HEIGHT - 45
Width: 160
Height: 25
Text: button-prompt-other
Font: Bold
Visible: false
Button@CANCEL_BUTTON:
X: PARENT_WIDTH - 180
Y: PARENT_HEIGHT - 45
Width: 160
Height: 25
Text: button-cancel
Font: Bold
Key: escape
Visible: false
Background@TWOBUTTON_PROMPT:
X: (WINDOW_WIDTH - WIDTH) / 2
Y: (WINDOW_HEIGHT - 90) / 2
Width: 370
Height: 110
Children:
Label@PROMPT_TITLE:
Width: PARENT_WIDTH
Y: 21
Height: 25
Font: Bold
Align: Center
Label@PROMPT_TEXT:
X: 15
Y: 51
Width: PARENT_WIDTH - 30
Height: 20
Align: Center
Button@CONFIRM_BUTTON:
X: 20
Y: PARENT_HEIGHT - 45
Width: 160
Height: 25
Text: button-prompt-confirm
Font: Bold
Key: return
Visible: false
Button@CANCEL_BUTTON:
X: PARENT_WIDTH - 180
Y: PARENT_HEIGHT - 45
Width: 160
Height: 25
Text: button-cancel
Font: Bold
Key: escape
Visible: false
Background@TEXT_INPUT_PROMPT:
X: (WINDOW_WIDTH - WIDTH) / 2
Y: (WINDOW_HEIGHT - HEIGHT) / 2
Width: 370
Height: 175
Children:
Label@PROMPT_TITLE:
Width: PARENT_WIDTH
Y: 21
Height: 25
Font: Bold
Align: Center
Label@PROMPT_TEXT:
X: 20
Y: 51
Width: PARENT_WIDTH - 40
Height: 25
Align: Center
TextField@INPUT_TEXT:
X: 20
Y: 80
Width: PARENT_WIDTH - 40
Height: 25
Button@ACCEPT_BUTTON:
X: 20
Y: PARENT_HEIGHT - 45
Width: 160
Height: 25
Text: button-text-input-prompt-accept
Font: Bold
Key: return
Button@CANCEL_BUTTON:
X: PARENT_WIDTH - 180
Y: PARENT_HEIGHT - 45
Width: 160
Height: 25
Text: button-cancel
Font: Bold
Key: escape