"resource/layout/settingssubstreaming_advanced_client.layout"
{
	controls
	{
		"DescriptionLabel"
		{
			ControlName="Label"
			fieldName="DescriptionLabel"
			wrap=1
			labelText="#Steam_Settings_Streaming_AdvancedClientOptions_Description"
		}
		
		"BandwidthLabel" { ControlName="Label" associate="BandwidthLimit" labelText="#Steam_Settings_Streaming_Bandwidth" }
		"BandwidthLimit" { ControlName="ComboBox" fieldName="BandwidthLimit" style="BandwidthLimit" editable="0" }

		"ResolutionLabel" { ControlName="Label" associate="ResolutionLimit" labelText="#Steam_Settings_Streaming_Resolution" }
		"ResolutionLimit" { ControlName="ComboBox" fieldName="ResolutionLimit" style="ResolutionLimit" editable="0" }

		"AudioChannelsLabel" { ControlName="Label" associate="AudioChannelSelect" labelText="#Steam_Settings_Streaming_AudioChannelSelect" }
		"AudioChannelSelect" { ControlName="ComboBox" fieldName="AudioChannelSelect" editable="0" }

		"EnableHardwareDecoding" { ControlName="CheckButton" fieldName="EnableHardwareDecoding" labelText="#Steam_Settings_Streaming_EnableHardwareDecoding" }
		"EnableDebugOverlay" { ControlName="CheckButton" fieldName="EnableDebugOverlay" labelText="#Steam_Settings_Streaming_EnableDebugOverlay" }
		
		"SupportInformationLabel"
		{
			ControlName="URLLabel"
			fieldName="SupportInformationLabel"
			labelText="#Steam_Settings_Streaming_StreamingSupport"
			URLText="https://support.steampowered.com/kb_article.php?ref=3629-RIAV-1617"
		}
		
		OKButton { ControlName="Button" fieldName="OKButton" command="Close" labelText="#PropertyDialog_OK" }
	}
	
	style
	{
	}
	
	layout
	{
		region { name=hidden width=0 height=0}
		region { name="buttons" width=max height=42 align="bottom" }

		place { control="DescriptionLabel" margin-left=20 margin-right=20 margin-top=40 width=max }

		place
		{
			control="BandwidthLabel,BandwidthLimit"
			dir=down
			start=DescriptionLabel
			width=max
			margin-right=20
			margin-top=15
			spacing=5
		}

		place
		{
			control="ResolutionLabel,ResolutionLimit"
			dir=down
			start=BandwidthLimit
			width=max
			margin-right=20
			margin-top=10
			spacing=5
		}

		place
		{
			control="AudioChannelsLabel,AudioChannelSelect"
			dir=down
			start=ResolutionLimit
			width=max
			margin-right=20
			margin-top=10
			spacing=5
		}

		place
		{
			control="EnableHardwareDecoding,EnableDebugOverlay"
			start=AudioChannelSelect
			dir=down
			width=max
			margin-right=20
			margin-top=15
			spacing=2
		}

		place { control="SupportInformationLabel" region="buttons" margin-left=20 margin-top=0 height=32 }
		place { control="OKButton" region="buttons" width=92 align=right margin-right=10 }
	}
}