"resource/layout/gamespage_details_news.layout"
{
	controls
	{
		newsdetails { controlname="CGamesPage_Details_News" style="newsdetails" }
		headerlabel { controlname="Label" style="gamedetails-headerlabel" labeltext="#Steam_RecentNews" }
		viewall { controlname="Button" labeltext="#Steam_ViewAllNews" command="ViewAllNews" }
	}

	colors
	{


		// This is needed to determine how much space is needed veritically for the header and button
		// in addition to the autocomputed height for the *newsitem panels, adjust it if you change vertical
		// spacing of this controls layout.
		GameDetailsNewsContainer.ExtraVerticalSpacing "64"
	}

	styles
	{
		newsdetails 
		{ 
		render_bg
		{
			0="gradient( x0 + 1, y0 + 1, x1 - 1, y0+140, launch1, launch2  )"
			1="fill( x0 + 1 , y0 + 140, x1 - 1, y1 - 1, launch2  )"
		
			// lines around
		1="fill( x0 + 1, y0 + 1, x1 - 1, y0 + 2, launch1 )"  // top
		2="fill( x0 + 1, y1 - 2, x1 - 1, y1 - 1, launch1 )"  // bottom
		3="fill( x0 + 1, y0 + 1, x0 + 2, y1 - 1, launch1 )"  // left
		4="fill( x1 - 2, y0 + 1, x1 - 1, y1 - 1, launch1 )"  // right
		}
		}
	}

	layout
	{
		region { name=body margin=10 width=max height=max }
		place { region=body control=headerlabel width=max }
		place { region=body y=22 y=0 control=*newsitem dir=down width=max }
		place { region=body align=bottom control=viewall margin-bottom=5 }
	}
}
