diff --git a/src/core/Microsoft.PowerToys.Settings.UI.Lib/ImageSize.cs b/src/core/Microsoft.PowerToys.Settings.UI.Lib/ImageSize.cs
index 491973b138..f2646afe40 100644
--- a/src/core/Microsoft.PowerToys.Settings.UI.Lib/ImageSize.cs
+++ b/src/core/Microsoft.PowerToys.Settings.UI.Lib/ImageSize.cs
@@ -68,6 +68,36 @@ namespace Microsoft.PowerToys.Settings.UI.Lib
}
}
+ public int ExtraBoxOpacity
+ {
+ get
+ {
+ if (Unit == 2)
+ {
+ return 0;
+ }
+ else
+ {
+ return 100;
+ }
+ }
+ }
+
+ public bool EnableEtraBoxes
+ {
+ get
+ {
+ if (Unit == 2)
+ {
+ return false;
+ }
+ else
+ {
+ return true;
+ }
+ }
+ }
+
[JsonPropertyName("name")]
public string Name
{
@@ -154,6 +184,8 @@ namespace Microsoft.PowerToys.Settings.UI.Lib
{
_unit = value;
OnPropertyChanged();
+ OnPropertyChanged("ExtraBoxOpacity");
+ OnPropertyChanged("EnableEtraBoxes");
}
}
}
diff --git a/src/core/Microsoft.PowerToys.Settings.UI/Views/ImageResizerPage.xaml b/src/core/Microsoft.PowerToys.Settings.UI/Views/ImageResizerPage.xaml
index c2243a943c..3f5a42b262 100644
--- a/src/core/Microsoft.PowerToys.Settings.UI/Views/ImageResizerPage.xaml
+++ b/src/core/Microsoft.PowerToys.Settings.UI/Views/ImageResizerPage.xaml
@@ -128,6 +128,7 @@
TextAlignment="Center"
VerticalAlignment="Center"
Margin="{StaticResource SmallTopMargin}"
+ Opacity="{x:Bind Path=ExtraBoxOpacity, Mode=OneWay}"
Width="25"/>