"resource/layout/overlay_broadcastpanel.layout"
{
	controls
	{
		TitleText { controlname="label" labeltext="#Overlay_Broadcast_Panel_Title" style=detailsboxtitle }
		InstructionText { controlname="label" labeltext="#Overlay_Broadcast_Panel_Text"  style=highlight }

		ShowBroadcast { controlname="Button" labeltext="#Overlay_Broadcast_ShowBroadcast" command="ShowBroadcast" }
		ShowChat { controlname="Button" labeltext="#Overlay_Broadcast_ShowChat" command="ShowChat" }
		StopBroadcast { controlname="Button" labeltext="#Overlay_Broadcast_Stop" command="StopBroadcast" }
		ShowSettings { controlname="Button" labeltext="#Overlay_Broadcast_ShowSettings" command="ShowSettings" }
	}
	
	styles
	{
		detailsbox //This one is on the right, so it needs a background
		{
			render_bg
			{
				0="fill(x0, y0, x1, y1, Overlay.Sidebar)"
			}		
		}

		highlight
		{
			textcolor=DefaultText.Hover
		}
	}
	
	layout
	{
		region { name=box margin-top=20 margin-bottom=20 margin-left=20 margin-right=20 width=max height=max }
		place { control="TitleText, InstructionText" region=box dir=right spacing=20 height=28}

		place { control="ShowBroadcast,ShowChat,ShowSettings,StopBroadcast" region=box spacing=10 align=bottom }
	}
}
