ScrollPanel@LOBBY_PLAYER_BIN:
	X: 20
	Y: 67
	ItemSpacing: 5
	Width: 593
	Height: 235
	Children:
		Container@TEMPLATE_EDITABLE_PLAYER:
			X: 5
			Y: 0
			Width: 475
			Height: 25
			Visible: false
			Children:
				Image@ADMIN_INDICATOR:
					ImageCollection: lobby-bits
					ImageName: admin
					X: 2
					Visible: false
				Container@LATENCY:
					X: 0
					Y: 6
					Width: 11
					Height: 14
					Visible: false
					Children:
						ColorBlock@LATENCY_COLOR:
							X: 2
							Y: 2
							Width: PARENT_RIGHT-4
							Height: PARENT_BOTTOM-4
				ClientTooltipRegion@CLIENT_REGION:
					TooltipContainer: TOOLTIP_CONTAINER
					Template: CLIENT_TOOLTIP
					Width: 11
					Height: 25
				TextField@NAME:
					Text: Name
					X: 15
					Width: 165
					Height: 25
					MaxLength: 16
				DropDownButton@SLOT_OPTIONS:
					Text: Name
					X: 15
					Width: 165
					Height: 25
					Font: Regular
					Visible: false
				DropDownButton@COLOR:
					X: 190
					Width: 80
					Height: 25
					IgnoreChildMouseOver: true
					Children:
						ColorBlock@COLORBLOCK:
							X: 5
							Y: 6
							Width: PARENT_RIGHT-35
							Height: PARENT_BOTTOM-12
				DropDownButton@FACTION:
					X: 280
					Width: 130
					Height: 25
					IgnoreChildMouseOver: true
					TooltipContainer: TOOLTIP_CONTAINER
					TooltipTemplate: FACTION_DESCRIPTION_TOOLTIP
					PanelRoot: FACTION_DROPDOWN_PANEL_ROOT # ensure that tooltips for the options are on top of the dropdown panel
					Children:
						Image@FACTIONFLAG:
							Width: 23
							Height: 23
							X: 4
							Y: 2
						Label@FACTIONNAME:
							Text: Faction
							Width: 70
							Height: 25
							X: 34
							Y: 0
				DropDownButton@TEAM:
					X: 420
					Width: 48
					Height: 25
					Text: Team
				DropDownButton@SPAWN:
					X: 478
					Width: 48
					Height: 25
					Text: Spawn
				Checkbox@STATUS_CHECKBOX:
					X: 535
					Y: 2
					Width: 20
					Height: 20
					Visible: false
				Image@STATUS_IMAGE:
					Visible: false
					X: 537
					Y: 4
					Width: 20
					Height: 20
					ImageCollection: checkbox-bits
					ImageName: checked
					Visible: false
		Container@TEMPLATE_NONEDITABLE_PLAYER:
			X: 5
			Y: 0
			Width: 475
			Height: 25
			Visible: false
			Children:
				Image@ADMIN_INDICATOR:
					ImageCollection: lobby-bits
					ImageName: admin
					X: 2
					Visible: false
				Container@LATENCY:
					X: 0
					Y: 6
					Width: 11
					Height: 14
					Visible: false
					Children:
						ColorBlock@LATENCY_COLOR:
							X: 2
							Y: 2
							Width: PARENT_RIGHT-4
							Height: PARENT_BOTTOM-4
				ClientTooltipRegion@CLIENT_REGION:
					TooltipContainer: TOOLTIP_CONTAINER
					Template: CLIENT_TOOLTIP
					Width: 11
					Height: 25
				Label@NAME:
					Text: Name
					Width: 165
					Height: 25
					X: 20
					Y: 0-1
				Button@KICK:
					Text: X
					Width: 25
					Height: 23
					X: 155
					Y: 2
					Font: Bold
				ColorBlock@COLORBLOCK:
					X: 195
					Y: 6
					Width: 45
					Height: 13
				Container@FACTION:
					Width: 160
					Height: 25
					X: 280
					Y: 0
					Children:
						Image@FACTIONFLAG:
							Width: 23
							Height: 23
							X: 4
							Y: 2
						Label@FACTIONNAME:
							Text: Faction
							Width: 60
							Height: 25
							X: 34
							Y: 0
				Label@TEAM:
					Text: Team
					Width: 23
					Height: 25
					Align: Center
					X: 420
					Y: 0
				Label@SPAWN:
					Align: Center
					X: 478
					Width: 23
					Height: 25
				Image@STATUS_IMAGE:
					Visible: false
					X: 537
					Y: 4
					Width: 20
					Height: 20
					ImageCollection: checkbox-bits
					ImageName: checked
		Container@TEMPLATE_EMPTY:
			X: 5
			Y: 0
			Width: 475
			Height: 25
			Visible: false
			Children:
				Label@NAME:
					Text: Name
					Width: 165
					Height: 25
					X: 20
					Y: 0-1
				DropDownButton@SLOT_OPTIONS:
					Text: Name
					Width: 165
					Height: 25
					X: 15
					Y: 0
					Visible: false
				Button@JOIN:
					Text: Play in this slot
					Width: 336
					Height: 25
					X: 190
					Y: 0
		Container@TEMPLATE_EDITABLE_SPECTATOR:
			X: 5
			Y: 0
			Width: 475
			Height: 25
			Visible: false
			Children:
				Image@ADMIN_INDICATOR:
					ImageCollection: lobby-bits
					ImageName: admin
					X: 2
					Visible: false
				Container@LATENCY:
					X: 0
					Y: 6
					Width: 11
					Height: 14
					Visible: false
					Children:
						ColorBlock@LATENCY_COLOR:
							X: 2
							Y: 2
							Width: PARENT_RIGHT-4
							Height: PARENT_BOTTOM-4
				ClientTooltipRegion@CLIENT_REGION:
					TooltipContainer: TOOLTIP_CONTAINER
					Template: CLIENT_TOOLTIP
					Width: 11
					Height: 25
				TextField@NAME:
					Text: Name
					X: 15
					Width: 165
					Height: 25
					MaxLength: 16
				Label@SPECTATOR:
					Text: Spectator
					Width: 336
					Height: 25
					X: 190
					Y: 0
					Align: Center
					Font: Bold
		Container@TEMPLATE_NONEDITABLE_SPECTATOR:
			X: 5
			Y: 0
			Width: 475
			Height: 25
			Visible: false
			Children:
				Image@ADMIN_INDICATOR:
					ImageCollection: lobby-bits
					ImageName: admin
					X: 2
					Visible: false
				Container@LATENCY:
					X: 0
					Y: 6
					Width: 11
					Height: 14
					Visible: false
					Children:
						ColorBlock@LATENCY_COLOR:
							X: 2
							Y: 2
							Width: PARENT_RIGHT-4
							Height: PARENT_BOTTOM-4
				ClientTooltipRegion@CLIENT_REGION:
					TooltipContainer: TOOLTIP_CONTAINER
					Template: CLIENT_TOOLTIP
					Width: 11
					Height: 25
				Label@NAME:
					Text: Name
					Width: 160
					Height: 25
					X: 20
					Y: 0-1
				Button@KICK:
					Text: X
					Width: 25
					Height: 23
					X: 155
					Y: 2
					Font: Bold
				Label@SPECTATOR:
					Text: Spectator
					Width: 336
					Height: 25
					X: 190
					Y: 0
					Align: Center
					Font: Bold
		Container@TEMPLATE_NEW_SPECTATOR:
			X: 5
			Y: 0
			Width: 475
			Height: 25
			Visible: false
			Children:
				Checkbox@TOGGLE_SPECTATORS:
					Font: Regular
					Width: 165
					Height: 20
					X: 15
					Y: 0
					Text: Allow Spectators?
				Button@SPECTATE:
					Text: Spectate
					Font: Regular
					Width: 336
					Height: 25
					X: 190
					Y: 0

ScrollPanel@RACE_DROPDOWN_TEMPLATE:
	Width: DROPDOWN_WIDTH
	Children:
		ScrollItem@HEADER:
			BaseName: scrollheader
			Width: PARENT_RIGHT-27
			Height: 13
			X: 2
			Y: 0
			Visible: false
			Children:
				Label@LABEL:
					Font: TinyBold
					Width: PARENT_RIGHT
					Height: 10
					Align: Center
		ScrollItem@TEMPLATE:
			Width: PARENT_RIGHT-27
			Height: 25
			X: 2
			Y: 0
			Visible: false
			TooltipContainer: TOOLTIP_CONTAINER
			TooltipTemplate: FACTION_DESCRIPTION_TOOLTIP
			Children:
				Image@FLAG:
					X: 2
					Y: 2
					Width: 30
					Height: 15
				Label@LABEL:
					X: 30
					Width: 70
					Height: 25

