"resource/layout/gamespage_details_achievements.layout"
{
	controls
	{
		achievementsdetails { controlname="CGamesPage_Details_Achievements" style="achievementsdetails" }

		headerlabel { controlname="Label" style="gamedetails-headerlabel" labeltext="#Steam_Achievements" }
		
		mostrecent_area { controlname="CAchievementsMostRecentPanel" }
		everythinglabel { controlname="Label" style="everythinglabel" labeltext="#Steam_EverythingAchieved" }
		locked_area { controlname="CAchievementsLockedPanel" }	

		viewall	{ controlname="Button" labeltext="#Steam_ViewAllAchievements" command="ViewAllAchievements" }
	}

	colors
	{
		

		// Extra spacing beyond the flowing elements to account for header and button at the bottom
		GameDetailsAchievements.ExtraVerticalSpacing "75"

		// This is additional extra vertical spacing when the "You've unlocked everything" label is set
		// You should test with a game with everything unlocked if you change vertical spacing as this may
		// need adjustment.
		GameDetailsAchievements.EverythingExtraSpacing "6"
		RichText.InsetX "0"
		RichText.InsetY "3" 
	}

	styles
	{
		achievementsdetails 
		{ 
			bgcolor=BackgroundStart
		}

		everythinglabel
		{
			textcolor="Text"
			font-size=15
		}	

	}

	layout
	{
		region { name=body margin=10 width=max height=max }

		place { region=body control=headerlabel width=max }
		place { region=body control=mostrecent_area,everythinglabel,locked_area dir=down y=25 width=max }

		place { region=body control=viewall align=bottom margin-bottom=5 }
	}
}
