Fix Layout error in Streaming and Controller settings.

This commit is contained in:
Jack-Myth 2019-04-19 17:07:23 +08:00
parent b2b1746a48
commit 7727a9a92c
2 changed files with 9 additions and 4 deletions

View File

@ -17,6 +17,8 @@
}
"EnableStreaming" { ControlName="CheckButton" fieldName="EnableStreaming" labelText="#Steam_Settings_Streaming_EnableStreaming" }
"Pair" { ControlName="Button" fieldName="Pair" command="Pair" labelText="#Steam_Settings_Streaming_Pair" }
"SetPIN" { ControlName="Button" fieldName="SetPIN" command="SetPIN" labelText="#Steam_Settings_Streaming_SetPIN" }
"HostDivider" { ControlName="divider" }
@ -85,8 +87,8 @@
margin-top=20
spacing=10
}
place { control="SetPIN" start=EnableStreaming dir=right align=right margin-right=20 }
place { control="Pair,SetPIN" start=EnableStreaming spacing=10 dir=right align=right margin-right=20 }
place { region=bottom control=HostDivider width=max}
place { region=bottom control=HostLabel width=max start=HostDivider dir=down margin-top=15 }

View File

@ -11,7 +11,8 @@
BigPictureConfigButton { ControlName=Button labelText="#Steam_SettingsControllerBigPictureConfig" command=EditBPConfig }
DesktopConfigButton { ControlName=Button labelText="#Steam_SettingsControllerDesktopConfig" command=EditDesktopConfig }
GuideConfigButton { ControlName=Button labelText="#Steam_SettingsControllerGuideConfig" command=EditGuideConfig }
Divider2 { ControlName=Divider }
DisableNotificationsCheckbox { controlname=checkbutton labeltext="#Steam_SteamInputDisableNotifications"}
}
colors
@ -50,6 +51,8 @@
place { start=Divider1 controls=DescriptionBindingLabel height=40 region=top dir=down margin-top=15 width=max }
place { start=DescriptionBindingLabel controls=BigPictureConfigButton height=20 width=240 region=top dir=down margin-top=15 }
place { start=BigPictureConfigButton controls=DesktopConfigButton height=20 width=240 region=top dir=down margin-top=15 }
place { start=DesktopConfigButton controls=GuideConfigButton height=20 width=240 region=top dir=down margin-top=15 }
place { start=DesktopConfigButton controls=GuideConfigButton height=20 width=240 region=top dir=down margin-top=15 }
place { start=GuideConfigButton controls=Divider2 height=20 region=top dir=down width=max}
place { start=Divider2 controls=DisableNotificationsCheckbox height=20 width=max region=top dir=down margin-top=15 }
}
}