diff --git a/src/modules/imageresizer/ui/Properties/Resources.Designer.cs b/src/modules/imageresizer/ui/Properties/Resources.Designer.cs
index fabc2fe8e3..7d7212172f 100644
--- a/src/modules/imageresizer/ui/Properties/Resources.Designer.cs
+++ b/src/modules/imageresizer/ui/Properties/Resources.Designer.cs
@@ -123,6 +123,15 @@ namespace ImageResizer.Properties {
}
}
+ ///
+ /// Looks up a localized string similar to Filename.
+ ///
+ public static string Advanced_FileName_Tooltip {
+ get {
+ return ResourceManager.GetString("Advanced_FileName_Tooltip", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Original filename.
///
@@ -375,6 +384,15 @@ namespace ImageResizer.Properties {
}
}
+ ///
+ /// Looks up a localized string similar to Apply settings.
+ ///
+ public static string OK_Tooltip {
+ get {
+ return ResourceManager.GetString("OK_Tooltip", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Phone.
///
@@ -528,6 +546,15 @@ namespace ImageResizer.Properties {
}
}
+ ///
+ /// Looks up a localized string similar to Resize pictures.
+ ///
+ public static string Resize_Tooltip {
+ get {
+ return ResourceManager.GetString("Resize_Tooltip", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Fill.
///
diff --git a/src/modules/imageresizer/ui/Properties/Resources.resx b/src/modules/imageresizer/ui/Properties/Resources.resx
index c74bfca580..2ff3e6139c 100644
--- a/src/modules/imageresizer/ui/Properties/Resources.resx
+++ b/src/modules/imageresizer/ui/Properties/Resources.resx
@@ -159,6 +159,9 @@
The following parameters can be used.
+
+ Filename
+
_JPEG quality level:
@@ -222,6 +225,9 @@
OK
+
+ Apply settings
+
Phone
@@ -303,6 +309,9 @@
Pixels
+
+ Resize pictures
+
Close
diff --git a/src/modules/imageresizer/ui/Themes/Dark.xaml b/src/modules/imageresizer/ui/Themes/Dark.xaml
index ad481d6c66..2d18580052 100644
--- a/src/modules/imageresizer/ui/Themes/Dark.xaml
+++ b/src/modules/imageresizer/ui/Themes/Dark.xaml
@@ -15,8 +15,8 @@
Accent1
Black
-
-
+
+
@@ -25,5 +25,5 @@
-
+
\ No newline at end of file
diff --git a/src/modules/imageresizer/ui/Views/AdvancedWindow.xaml b/src/modules/imageresizer/ui/Views/AdvancedWindow.xaml
index 7cdc02e4db..732db1782e 100644
--- a/src/modules/imageresizer/ui/Views/AdvancedWindow.xaml
+++ b/src/modules/imageresizer/ui/Views/AdvancedWindow.xaml
@@ -41,11 +41,11 @@
-
+
-
+
-
+
@@ -131,15 +131,13 @@
-
-
-
-
-
+
-
+
@@ -216,7 +214,7 @@
-
+
@@ -243,14 +241,16 @@
+ Target="{Binding ElementName=fileNameTextBox}"/>
@@ -269,12 +269,16 @@
HorizontalAlignment="Right"
Orientation="Horizontal">
+ TabIndex="100"
+ Click="HandleAcceptClick"
+ Style="{StaticResource AccentButtonStyle}"
+ Content="{x:Static p:Resources.OK}"
+ AutomationProperties.Name="{x:Static p:Resources.OK_Tooltip}"
+ IsDefault="True"/>
+
diff --git a/src/modules/imageresizer/ui/Views/InputPage.xaml b/src/modules/imageresizer/ui/Views/InputPage.xaml
index 150d22f169..f44824119c 100644
--- a/src/modules/imageresizer/ui/Views/InputPage.xaml
+++ b/src/modules/imageresizer/ui/Views/InputPage.xaml
@@ -12,12 +12,15 @@
FontSize="16"
Content="{x:Static p:Resources.Input_Content}"
Target="{Binding ElementName=_selectedSizeListBox}"/>
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
+
@@ -77,8 +85,8 @@
-
+ Visibility="{Binding ShowHeight,Converter={StaticResource BoolValueConverter}}"/>
+
-
+ SelectedItem="{Binding Unit}">
@@ -109,6 +115,7 @@
+
@@ -117,9 +124,11 @@
+
+
@@ -134,18 +143,20 @@
FontFamily="Segoe MDL2 Assets"
Style="{StaticResource DefaultButtonStyle}"
FontSize="16"
+ Margin="-10,0,0,0"
+ AutomationProperties.Name="{x:Static p:Resources.Input_ShowAdvanced}"
ToolTip="{x:Static p:Resources.Input_ShowAdvanced}"
Background="Transparent"
- Command="{Binding ShowAdvancedCommand}"
- />
+ Command="{Binding ShowAdvancedCommand}"/>
-
+
-
diff --git a/src/modules/imageresizer/ui/Views/MainWindow.xaml b/src/modules/imageresizer/ui/Views/MainWindow.xaml
index 315ba57fe3..0fd52c79f3 100644
--- a/src/modules/imageresizer/ui/Views/MainWindow.xaml
+++ b/src/modules/imageresizer/ui/Views/MainWindow.xaml
@@ -16,6 +16,7 @@
ui:WindowHelper.UseModernWindowStyle="True"
ui:TitleBar.IsIconVisible="True"
ui:TitleBar.Background="{DynamicResource PrimaryBackgroundBrush}"
+ AutomationProperties.Name="Image Resizer"
>