Skip to content

Commit 9971b28

Browse files
committed
Test
1 parent 741f05c commit 9971b28

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
</wctcontrols:SettingsCard.HeaderIcon>
102102
<uc:ComboBoxEx
103103
x:Name="ThemeChooser"
104-
AutomationProperties.Name="{helpers:ResourceString Name=SettingsAppearanceTheme}"
104+
AutomationProperties.AutomationControlType="Custom"
105105
ItemsSource="{x:Bind ViewModel.Themes, Mode=OneWay}"
106106
SelectedIndex="{x:Bind ViewModel.SelectedThemeIndex, Mode=TwoWay}" />
107107
</wctcontrols:SettingsCard>
@@ -112,7 +112,7 @@
112112
<FontIcon Glyph="&#xEF1F;" />
113113
</wctcontrols:SettingsCard.HeaderIcon>
114114
<uc:ComboBoxEx
115-
AutomationProperties.Name="{helpers:ResourceString Name=BackdropMaterial}"
115+
AutomationProperties.AutomationControlType="Custom"
116116
ItemsSource="{x:Bind ViewModel.BackdropMaterialTypes.Values}"
117117
SelectedItem="{x:Bind ViewModel.SelectedBackdropMaterial, Mode=TwoWay}" />
118118
</wctcontrols:SettingsCard>
@@ -125,7 +125,7 @@
125125
<wctcontrols:SettingsExpander.HeaderIcon>
126126
<FontIcon Glyph="&#xE771;" />
127127
</wctcontrols:SettingsExpander.HeaderIcon>
128-
<Button Padding="0" AutomationProperties.Name="{helpers:ResourceString Name=BackgroundColor}">
128+
<Button Padding="0" AutomationProperties.AutomationControlType="Custom">
129129
<StackPanel Orientation="Horizontal">
130130
<Border
131131
Width="24"
@@ -193,7 +193,7 @@
193193
<Slider
194194
Width="140"
195195
HorizontalAlignment="Right"
196-
AutomationProperties.Name="{helpers:ResourceString Name=Opacity}"
196+
AutomationProperties.AutomationControlType="Custom"
197197
IsThumbToolTipEnabled="False"
198198
Maximum="1"
199199
Minimum=".1"
@@ -205,7 +205,7 @@
205205
<wctcontrols:SettingsCard Header="{helpers:ResourceString Name=ImageFit}">
206206
<uc:ComboBoxEx
207207
MinWidth="140"
208-
AutomationProperties.Name="{helpers:ResourceString Name=ImageFit}"
208+
AutomationProperties.AutomationControlType="Custom"
209209
ItemsSource="{x:Bind ViewModel.ImageStretchTypes.Values}"
210210
SelectedItem="{x:Bind ViewModel.SelectedImageStretchType, Mode=TwoWay}" />
211211
</wctcontrols:SettingsCard>
@@ -214,7 +214,7 @@
214214
<wctcontrols:SettingsCard Header="{helpers:ResourceString Name=VerticalAlignment}">
215215
<uc:ComboBoxEx
216216
MinWidth="140"
217-
AutomationProperties.Name="{helpers:ResourceString Name=VerticalAlignment}"
217+
AutomationProperties.AutomationControlType="Custom"
218218
ItemsSource="{x:Bind ViewModel.ImageVerticalAlignmentTypes.Values}"
219219
SelectedItem="{x:Bind ViewModel.SelectedImageVerticalAlignmentType, Mode=TwoWay}" />
220220
</wctcontrols:SettingsCard>
@@ -223,7 +223,7 @@
223223
<wctcontrols:SettingsCard Header="{helpers:ResourceString Name=HorizontalAlignment}">
224224
<uc:ComboBoxEx
225225
MinWidth="140"
226-
AutomationProperties.Name="{helpers:ResourceString Name=HorizontalAlignment}"
226+
AutomationProperties.AutomationControlType="Custom"
227227
ItemsSource="{x:Bind ViewModel.ImageHorizontalAlignmentTypes.Values}"
228228
SelectedItem="{x:Bind ViewModel.SelectedImageHorizontalAlignmentType, Mode=TwoWay}" />
229229
</wctcontrols:SettingsCard>
@@ -262,12 +262,12 @@
262262
x:Name="ShowShelfPaneSetting"
263263
Header="{helpers:ResourceString Name=ShowShelfPaneButtonInAddressBar}"
264264
Visibility="{x:Bind ViewModel.IsAppEnvironmentDev, Mode=OneTime}">
265-
<ToggleSwitch AutomationProperties.Name="{helpers:ResourceString Name=ShowShelfPaneButtonInAddressBar}" IsOn="{x:Bind ViewModel.ShowShelfPaneToggleButton, Mode=TwoWay}" />
265+
<ToggleSwitch AutomationProperties.AutomationControlType="Custom" IsOn="{x:Bind ViewModel.ShowShelfPaneToggleButton, Mode=TwoWay}" />
266266
</wctcontrols:SettingsCard>
267267

268268
<!-- Show toolbar -->
269269
<wctcontrols:SettingsCard Header="{helpers:ResourceString Name=ShowToolbar}">
270-
<ToggleSwitch AutomationProperties.Name="{helpers:ResourceString Name=ShowToolbar}" IsOn="{x:Bind ViewModel.ShowToolbar, Mode=TwoWay}" />
270+
<ToggleSwitch AutomationProperties.AutomationControlType="Custom" IsOn="{x:Bind ViewModel.ShowToolbar, Mode=TwoWay}" />
271271
</wctcontrols:SettingsCard>
272272
</wctcontrols:SettingsExpander.Items>
273273
</wctcontrols:SettingsExpander>

0 commit comments

Comments
 (0)