"resource/layout/overlay_broadcastpanel.layout"
{
	styles {
		COverlayBroadcastChatDialog {
			render_bg {
				0="fill( x0, y0, x1, y0 + 50, Focus )"
				1="fill( x0, y1 - 90, x1, y1 - 60, A2.Ribbon )"
			}
		}

		FrameTitle {
			inset-left=3
			inset-top=18
			textcolor=white
		}

		FrameTitle:framefocus {
			textcolor=white
		}

		Textentryfocus_chat {
			inset-left=3
			render_bg { }
		}

		"RichText Scrollbar" {
			inset-bottom=21
		}
	}

	layout {
		place { control=frame_minimize,frame_close height=22 width=22 align=right margin-top=13 margin-right=19 spacing=0 }
		place { control=frame_captiongrip margin=2 width=max height=50 }

		region { name=chat y=50 margin-bottom=90 height=max width=max }
		region { name=status align=bottom height=90 width=max margin-bottom=60 }
		region { name=bottom align=bottom height=60 width=max }

		place { control="ChatHistory" region=chat width=max height=max dir=down margin-bottom=-15 }

		place { control="StatusLabel"					region=status width=max height=max margin-left=10 margin-right=10 }

		place { control="TextEntry"						region=bottom x=4 y=12 height=36 width=max margin-right=145 }
		place { control="EmoticonButton"			region=bottom align=right y=6 height=50 margin-right=12 }

		place { control="SendButton" height=0 width=0 }
	}
}
