Skip to content

Commit fff53f8

Browse files
committed
Code Quality: Add background to setting expanders
1 parent bfe3918 commit fff53f8

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

src/Files.App/Views/Settings/AppearancePage.xaml

+1
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@
156156
<GridView
157157
Padding="8"
158158
HorizontalAlignment="Stretch"
159+
Background="{ThemeResource CardBackgroundFillColorDefaultBrush}"
159160
ItemTemplate="{StaticResource AppThemeResourcesItemTemplate}"
160161
ItemsSource="{x:Bind ViewModel.AppThemeResources, Mode=OneWay}"
161162
SelectedItem="{x:Bind ViewModel.SelectedAppThemeResources, Mode=TwoWay}" />

src/Files.App/Views/Settings/DevToolsPage.xaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
ItemsSource="{x:Bind ViewModel.OpenInIDEOptions.Values}"
5656
SelectedItem="{x:Bind ViewModel.SelectedOpenInIDEOption, Mode=TwoWay}" />
5757
<wctcontrols:SettingsExpander.ItemsHeader>
58-
<StackPanel Orientation="Vertical">
58+
<StackPanel Background="{ThemeResource CardBackgroundFillColorDefaultBrush}" Orientation="Vertical">
5959
<Grid
6060
x:Name="IDEConfigGrid"
6161
Padding="32,12"

src/Files.App/Views/Settings/GeneralPage.xaml

+1
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@
102102
<Grid
103103
Padding="8"
104104
HorizontalAlignment="Stretch"
105+
Background="{ThemeResource CardBackgroundFillColorDefaultBrush}"
105106
RowSpacing="4"
106107
Visibility="{x:Bind ViewModel.OpenASpecificPageOnStartup, Mode=OneWay}">
107108
<Grid.RowDefinitions>

src/Files.App/Views/Settings/TagsPage.xaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454

5555
<Button Command="{x:Bind ViewModel.AddTagCommand, Mode=OneWay}" Content="{helpers:ResourceString Name=NewTag}" />
5656
<wctcontrols:SettingsExpander.ItemsHeader>
57-
<StackPanel>
57+
<StackPanel Background="{ThemeResource CardBackgroundFillColorDefaultBrush}">
5858
<!-- Create new tag -->
5959
<Grid
6060
x:Name="AddTagGrid"

0 commit comments

Comments
 (0)