Files
OpenRA/mods/common/chrome/ingame-infobriefing.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

31 lines
618 B
YAML

Container@MAP_PANEL:
Height: PARENT_HEIGHT
Width: PARENT_WIDTH
Logic: GameInfoBriefingLogic
Children:
Background@PREVIEW_BG:
X: (PARENT_WIDTH - WIDTH) / 2
Y: 20
Width: 362
Height: 202
Background: dialog3
Children:
MapPreview@MAP_PREVIEW:
X: 1
Y: 1
Width: PARENT_WIDTH - 2
Height: PARENT_HEIGHT - 2
IgnoreMouseOver: True
IgnoreMouseInput: True
ShowSpawnPoints: False
ScrollPanel@MAP_DESCRIPTION_PANEL:
X: 20
Y: 232
Width: PARENT_WIDTH - 40
Height: 153
Children:
Label@MAP_DESCRIPTION:
X: 4
Y: 2
Width: PARENT_WIDTH - 32