"resource/layout/settingssubstreaming_advanced_host.layout"
{
	controls
	{
		"DescriptionLabel"
		{
			ControlName="Label"
			fieldName="DescriptionLabel"
			wrap=1
			labelText="#Steam_Settings_Streaming_AdvancedHostOptions_Description"
		}
		
		"ChangeDesktopResolution" { ControlName="CheckButton" fieldName="ChangeDesktopResolution" labelText="#Steam_Settings_Streaming_ChangeDesktopResolution" }
		
		"DynamicallyAdjustResolution" { ControlName="CheckButton" fieldName="DynamicallyAdjustResolution" labelText="#Steam_Settings_Streaming_DynamicallyAdjustResolution" }

		"EnableCaptureNVFBC" { ControlName="CheckButton" fieldName="EnableCaptureNVFBC" labelText="#Steam_Settings_Streaming_EnableCaptureNVFBC" }

		"EnableHardwareEncoding" { ControlName="CheckButton" fieldName="EnableHardwareEncoding" labelText="#Steam_Settings_Streaming_EnableHardwareEncoding" }
		"EnableHardwareEncodingNVIDIA" { ControlName="CheckButton" fieldName="EnableHardwareEncodingNVIDIA" labelText="#Steam_Settings_Streaming_EnableHardwareEncodingNVIDIA" }
		"EnableHardwareEncodingAMD" { ControlName="CheckButton" fieldName="EnableHardwareEncodingAMD" labelText="#Steam_Settings_Streaming_EnableHardwareEncodingAMD" }
		"EnableHardwareEncodingIntel" { ControlName="CheckButton" fieldName="EnableHardwareEncodingIntel" labelText="#Steam_Settings_Streaming_EnableHardwareEncodingIntel" }
		
		"SoftwareEncodingThreadsLabel"
		{
			ControlName="Label"
			fieldName="SoftwareEncodingThreadsLabel"
			wrap=1
			labelText="#Steam_Settings_Streaming_SoftwareEncodingThreads_Description"
		}
		"SoftwareEncodingThreads" { ControlName="ComboBox" fieldName="SoftwareEncodingThreads" style="ResolutionLimit" editable="0" }

		"EnableTrafficPriorityLabel"
		{
			ControlName="Label"
			fieldName="EnableTrafficPriorityLabel"
			wrap=1
			labelText="#Steam_Settings_Streaming_EnableTrafficPriority_Description"
		}
		"EnableTrafficPriority" { ControlName="CheckButton" fieldName="EnableTrafficPriority" labelText="#Steam_Settings_Streaming_EnableTrafficPriority" }

		"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-top=40 margin-left=20 margin-right=20 width=max}
		place
		{
			control="ChangeDesktopResolution,DynamicallyAdjustResolution,EnableCaptureNVFBC,EnableHardwareEncoding"
			dir=down
			start=DescriptionLabel
			width=max
			margin-right=20
			margin-top=10
			spacing=2
		}
		place
		{
			control="EnableHardwareEncodingNVIDIA,EnableHardwareEncodingAMD,EnableHardwareEncodingIntel,EnableTrafficPriorityLabel,EnableTrafficPriority"
			margin-top=5
			dir=down
			start=EnableHardwareEncoding
			width=max
			margin-left=30
			margin-right=20
			spacing=2
		}
		place
		{
			control="SoftwareEncodingThreadsLabel,SoftwareEncodingThreads"
			dir=down
			start=EnableHardwareEncoding
			margin-top=105
			width=max
			margin-right=20
			spacing=5
		}
		place
		{
			control="EnableTrafficPriorityLabel,EnableTrafficPriority"
			dir=down
			start=SoftwareEncodingThreads
			margin-top=15
			width=max
			margin-top=365
			margin-right=20
			spacing=5
		}
		
		place { control="SupportInformationLabel" region="buttons" margin-left=20 height=32 }
		place { control="OKButton" region="buttons" width=92 align=right margin-right=10 }
	}
}