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.
35 lines
833 B
YAML
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
|