From 7727a9a92c914f092fba385cf77f2b252ba14e81 Mon Sep 17 00:00:00 2001 From: Jack-Myth Date: Fri, 19 Apr 2019 17:07:23 +0800 Subject: [PATCH] Fix Layout error in Streaming and Controller settings. --- resource/layout/settingssubstreaming.layout | 6 ++++-- resource/layout/subpaneloptionscontroller.layout | 7 +++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/resource/layout/settingssubstreaming.layout b/resource/layout/settingssubstreaming.layout index 504a727..c1c511e 100644 --- a/resource/layout/settingssubstreaming.layout +++ b/resource/layout/settingssubstreaming.layout @@ -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 } diff --git a/resource/layout/subpaneloptionscontroller.layout b/resource/layout/subpaneloptionscontroller.layout index b65e81f..4616348 100644 --- a/resource/layout/subpaneloptionscontroller.layout +++ b/resource/layout/subpaneloptionscontroller.layout @@ -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 } } }