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

35 lines
833 B
YAML

Container@CHAT_CONTAINER:
Y: 20
Width: PARENT_WIDTH
Height: PARENT_HEIGHT - 105
Logic: IngameChatLogic
Templates:
Chat: CHAT_LINE_TEMPLATE
System: SYSTEM_LINE_TEMPLATE
Mission: CHAT_LINE_TEMPLATE
Children:
Container@CHAT_CHROME:
X: 20
Width: PARENT_WIDTH - 40
Height: PARENT_HEIGHT
Children:
Button@CHAT_MODE:
Y: PARENT_HEIGHT - HEIGHT
Width: 50
Height: 25
Text: button-chat-chrome-mode.label
Font: Bold
Key: ToggleChatMode
TooltipText: button-chat-chrome-mode.tooltip
TooltipContainer: TOOLTIP_CONTAINER
TextField@CHAT_TEXTFIELD:
X: 55
Y: PARENT_HEIGHT - HEIGHT
Width: PARENT_WIDTH - 55
Height: 25
ScrollPanel@CHAT_SCROLLPANEL:
Width: PARENT_WIDTH
Height: PARENT_HEIGHT - 30
TopBottomSpacing: 3
ItemSpacing: 2