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