From ab8df1a906eee06c7bf4181d8802bbe72a4d6403 Mon Sep 17 00:00:00 2001 From: Jaime Bernardo Date: Wed, 22 Jan 2025 12:33:33 +0000 Subject: [PATCH] [ImageResizer][ci]Fix XAML style errors (#37009) --- .../SettingsXAML/Views/ImageResizerPage.xaml | 24 +++++-------------- 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/src/settings-ui/Settings.UI/SettingsXAML/Views/ImageResizerPage.xaml b/src/settings-ui/Settings.UI/SettingsXAML/Views/ImageResizerPage.xaml index 0b0e40000c..7e7d956ce9 100644 --- a/src/settings-ui/Settings.UI/SettingsXAML/Views/ImageResizerPage.xaml +++ b/src/settings-ui/Settings.UI/SettingsXAML/Views/ImageResizerPage.xaml @@ -108,17 +108,11 @@ x:Uid="ImageResizer_EditButton" Width="40" Height="36" + AutomationProperties.FullDescription="{x:Bind AccessibleTextHelper, Mode=OneWay, Converter={StaticResource ImageResizerSizeToAccessibleTextConverter}, ConverterParameter='Edit'}" + AutomationProperties.Name="{x:Bind Name, Mode=OneWay, Converter={StaticResource ImageResizerSizeToAccessibleTextConverter}, ConverterParameter='Edit'}" Content="" FontFamily="{ThemeResource SymbolThemeFontFamily}" - Style="{StaticResource SubtleButtonStyle}" - AutomationProperties.Name="{x:Bind Name, - Mode=OneWay, - Converter={StaticResource ImageResizerSizeToAccessibleTextConverter}, - ConverterParameter='Edit'}" - AutomationProperties.FullDescription="{x:Bind AccessibleTextHelper, - Mode=OneWay, - Converter={StaticResource ImageResizerSizeToAccessibleTextConverter}, - ConverterParameter='Edit'}"> + Style="{StaticResource SubtleButtonStyle}"> @@ -176,19 +170,13 @@ x:Uid="ImageResizer_RemoveButton" Width="40" Height="36" + AutomationProperties.FullDescription="{x:Bind AccessibleTextHelper, Mode=OneWay, Converter={StaticResource ImageResizerSizeToAccessibleTextConverter}, ConverterParameter='Remove'}" + AutomationProperties.Name="{x:Bind Name, Mode=OneWay, Converter={StaticResource ImageResizerSizeToAccessibleTextConverter}, ConverterParameter='Remove'}" Click="DeleteCustomSize" CommandParameter="{Binding Id}" Content="" FontFamily="{ThemeResource SymbolThemeFontFamily}" - Style="{StaticResource SubtleButtonStyle}" - AutomationProperties.Name="{x:Bind Name, - Mode=OneWay, - Converter={StaticResource ImageResizerSizeToAccessibleTextConverter}, - ConverterParameter='Remove'}" - AutomationProperties.FullDescription="{x:Bind AccessibleTextHelper, - Mode=OneWay, - Converter={StaticResource ImageResizerSizeToAccessibleTextConverter}, - ConverterParameter='Remove'}"> + Style="{StaticResource SubtleButtonStyle}">