"resource/layout/overlay_communitydiscussionspanel.layout"
{
	controls
	{
		CommunityDiscussionsDetailPanel 
		{ 
			controlname="COverlay_Details_CommunityDiscussions_Panel" 
			style=detailsbox
		}
		TitleText { controlname="label" labeltext="#Overlay_CommunityDiscussions_Panel_Title" style=detailsboxtitle }
		NumDiscussionsText { controlname="label" labeltext="#Overlay_CommunityDiscussions_Panel_NumDiscussions"  style=highlight }

		ViewCommunityDiscussions { controlname="Button" labeltext="#Overlay_View_CommunityDiscussions" command="viewcommunitydiscussions" }
	}
	
	colors
	{

	}	
	
	styles
	{

		Button
		{
			textcolor=none
			render_bg{}
			render{}
			bgcolor=none
		}
		
		Button:hover
		{
			textcolor=none
			render_bg{
				0="fill(x0,y0,x1,y1, Overlay.Item.Hover)"
			}
		}

		DarkRegion
		{
			bgcolor="40 40 40 255"
		}

		PreviewImage
		{
		}


		highlight
		{
			inset="0 2 0 0"
			textcolor=DefaultText.Hover
		}
	}
	
	layout
	{
		region { name=hidden width=0 height=0 }
		region { name=box margin-top=10 margin-bottom=10 margin-left=20 margin-right=20 width=max height=max }
		
		place { control="TitleText, NumDiscussionsText" region=box dir=right spacing=20 height=max}

		place { control="ViewCommunityDiscussions" height=max width=max }
	}
}
