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.
31 lines
616 B
YAML
31 lines
616 B
YAML
Container@MAP_PANEL:
|
|
Height: PARENT_HEIGHT
|
|
Width: PARENT_WIDTH
|
|
Logic: GameInfoBriefingLogic
|
|
Children:
|
|
Background@PREVIEW_BG:
|
|
X: (PARENT_WIDTH - WIDTH) / 2
|
|
Y: 15
|
|
Width: 362
|
|
Height: 202
|
|
Background: panel-black
|
|
Children:
|
|
MapPreview@MAP_PREVIEW:
|
|
Width: 360
|
|
Height: 200
|
|
X: 1
|
|
Y: 1
|
|
IgnoreMouseOver: True
|
|
IgnoreMouseInput: True
|
|
ShowSpawnPoints: False
|
|
ScrollPanel@MAP_DESCRIPTION_PANEL:
|
|
X: 15
|
|
Y: 228
|
|
Width: PARENT_WIDTH - 30
|
|
Height: PARENT_HEIGHT - 228 - 15
|
|
Children:
|
|
Label@MAP_DESCRIPTION:
|
|
X: 4
|
|
Y: 2
|
|
Width: PARENT_WIDTH - 32
|