Files
OpenRA/mods/ra/chrome/ingame-chat.yaml
Paul Chote 15de893cec Clean up chat input.
- Team chat by default; use tab key or button to change.
- Removed "Use RETURN key..." prompt.
- Remove jarring transition between display and entry modes.
- Scroll to bottom on opening entry mode.
- Disable any/team toggle for spectators.
- Minor spacing/padding tweaks.
- Code cleanup.
2013-10-24 20:02:17 +13:00

63 lines
1.2 KiB
YAML

Container@CHAT_PANEL:
X:(WINDOW_RIGHT - WIDTH) / 2
Y:WINDOW_BOTTOM - HEIGHT - 15
Width:550
Height:194
Logic:IngameChatLogic
Children:
Container@CHAT_OVERLAY:
Width:PARENT_RIGHT-24
Height:PARENT_BOTTOM-25
Visible:false
Children:
ChatDisplay@CHAT_DISPLAY:
Width:PARENT_RIGHT
Height:PARENT_BOTTOM
RemoveTime:250
UseContrast: yes
Container@CHAT_CHROME:
Width:PARENT_RIGHT
Height:PARENT_BOTTOM
Children:
Button@CHAT_MODE:
Y:PARENT_BOTTOM - HEIGHT
Width:50
Height:25
Text:Team
Font:Bold
TextField@CHAT_TEXTFIELD:
X:55
Y:PARENT_BOTTOM - HEIGHT
Width:466
Height:25
Button@CHAT_CLOSE:
X:526
Y:PARENT_BOTTOM - HEIGHT
Width:24
Height:25
Text:X
Font:Bold
ScrollPanel@CHAT_SCROLLPANEL:
Y:PARENT_BOTTOM - HEIGHT - 30
Width:550
Height:164
ItemSpacing:4
Align:Bottom
Children:
Container@CHAT_TEMPLATE:
X:2
Width:PARENT_RIGHT-27
Height:16
Children:
Label@NAME:
X:3
Width:50
Height:15
VAlign:Top
Label@TEXT:
X:12
Width:PARENT_RIGHT - 17
Height:15
WordWrap:true
VAlign:Top