From dd2a4e658612f58671b01f72c33fa717d4a4469f Mon Sep 17 00:00:00 2001 From: Jack-Myth Date: Sun, 27 Oct 2019 20:38:12 +0800 Subject: [PATCH] Fix Setting layout --- resource/layout/settingssubmusic.layout | 7 ++++++- resource/styles/jackmyth.styles | 7 +++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/resource/layout/settingssubmusic.layout b/resource/layout/settingssubmusic.layout index 218bf48..f7e49fe 100644 --- a/resource/layout/settingssubmusic.layout +++ b/resource/layout/settingssubmusic.layout @@ -50,6 +50,9 @@ NotificationHeader { ControlName="Label" labelText="#Music_Settings_Notification_Header" style="HeaderText" } NotificationPlaylistNowPlayingCheckbox { ControlName="CheckButton" labelText="#Music_Settings_NotificationPlaylistNowPlaying" } EnableMediaKeysCheckbox { ControlName="CheckButton" labelText="#Music_Settings_EnableMediaKeys" } + + AdditionalFilesHeader { ControlName="Label" labelText="#Music_Settings_AdditionalFiles_Header" style="HeaderText" } + AdditionalFilesHighQualityCheckbox { ControlName="CheckButton" labelText="#Music_Settings_AdditionalFiles_HighQuality" } LoggingHeader { ControlName="Label" labelText="#Music_Settings_Logging_Header" style="HeaderText" } LoggingCrawlingCheckbox { ControlName="CheckButton" labelText="#Music_Settings_LoggingCrawling" } @@ -106,7 +109,9 @@ place { control=PauseMusicHeader region=content start=VolumeDivider dir=down margin-top=10 } place { control="PauseMusicWhenStartingApplicationCheckbox,PauseMusicWhenVoiceChatCheckbox" region=content start=PauseMusicHeader dir=down margin-top=5 } - place { control=LoggingHeader region=content start=VolumeDivider dir=down margin-top=10 x=250} + place { control=AdditionalFilesHeader region=content start=VolumeDivider dir=down margin-top=10 x=250 } + place { control=AdditionalFilesHighQualityCheckbox region=content start=AdditionalFilesHeader dir=down margin-top=5 } + place { control=LoggingHeader region=content start=AdditionalFilesHighQualityCheckbox dir=down margin-top=10} place { control=LoggingCrawlingCheckbox region=content start=LoggingHeader dir=down margin-top=5} place { control=NotificationHeader region=content start=PauseMusicWhenVoiceChatCheckbox dir=down margin-top=10 } place { control=NotificationPlaylistNowPlayingCheckbox region=content start=NotificationHeader dir=down margin-top=5} diff --git a/resource/styles/jackmyth.styles b/resource/styles/jackmyth.styles index a8632c0..df8ab32 100644 --- a/resource/styles/jackmyth.styles +++ b/resource/styles/jackmyth.styles @@ -226,6 +226,13 @@ jackmyth.styles 0=fill(x0,y0,x1,y1,none) } } + CSettingsSubLibrary + { + render_bg + { + 0=fill(x0,y0,x1,y1,none) + } + } CSubPanelOptionsDownloads { render_bg