"resource/layout/joingamedialogexpanded.layout"
{
	controls
	{
		Progress { controlname=progressbar	}
		PlayButton { controlname=button labeltext=#SteamUI_JoinDialog_PlayGame_Btn }
		InfoLabel { controlname=label labeltext=#SteamUI_JoinDialog_ReadyToPlay wrap=1 }
		NewsButton { controlname=button labeltext=#Steam_UpdateNewsButton command=UpdateNews }
		OverrideThrottleCheckBox { controlname=checkbutton labeltext=#SteamUI_JoinDialog_OverrideThrottle command=ToggleThrottle }
		AutoLaunchCheckBox { controlname=checkbutton labeltext=#SteamUI_JoinDialog_LaunchGameReady }
		ReadyToPlayInfoLabel { controlname=label labeltext=#SteamUI_JoinDialog_ReadyToPlayTime }
		ReadyToPlayTimeLabel { controlname=label labeltext=#SteamUI_JoinDialog_TimeLeftMinutes }
		ThrobberThrobberThrobber { controlname=throbberimagepanel }
		SkipUpdateLabel { controlname=label textalignment=east labeltext=#SteamUI_JoinDialog_SkipUpdateInfo visible=false }
		
		// only shown if the user hasn't seen the SSA change yet
		Divider { controlname=divider visible=false }
		SSAUpdateLabel { controlname=label labeltext=#SteamUI_SSAUpdatedInfo wrap=1 visible=false }
		SSAUpdateURL { controlname=urllabel labeltext=#Steam_SSAUpdated_Link urltext=http://www.steampowered.com/index.php?area=subscriber_agreement visible=false }
	}
	
	colors
	{
	}	
	
	styles
	{
		highlight
		{
			textcolor=Text
		}	
	}
	
	layout
	{
		region { name=box margin-top=20 margin-bottom=20 margin-left=20 margin-right=20 width=max height=max }
		region { name=ssa margin-top=215 margin-left=20 margin-right=20 width=max height=max }
			
		place { controls="InfoLabel" region=box margin-top=15 dir=down align=left width=320  }
		place { controls="ThrobberThrobberThrobber" region=box start=InfoLabel dir=down align=left margin-top=15 }
		place { controls="ReadyToPlayInfoLabel" region=box start=InfoLabel margin-top=10 width=max dir=down }
		place { controls="ReadyToPlayTimeLabel" region=box start=InfoLabel margin-top=10 margin-left=200 dir=down }
		place { controls="Progress" region=box start=ReadyToPlayInfoLabel margin-top=10 width=max dir=down }
		place { controls="OverrideThrottleCheckBox" region=box start=Progress margin-top=10 width=max height=15 dir=down }
		place { controls="AutoLaunchCheckBox" region=box start=OverrideThrottleCheckBox margin-top=10 height=15 width=max dir=down }
		place { controls="NewsButton" region=box start=AutoLaunchCheckBox margin-top=10 width=135 height=25 dir=down margin-right=0 align=right }
		place { controls="PlayButton" region=box start=NewsButton margin-top=10 width=135 height=25 dir=down align=right }
		place { controls="SkipUpdateLabel" region=box start=AutoLaunchCheckBox dir=down width=max margin-right=145 margin-top=46 }
		
		place { controls="Divider,SSAUpdateLabel,SSAUpdateURL" region=ssa margin-top=10 spacing=5 width=max dir=down }
	}
}
