mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 18:57:19 +02:00
[ImageResizer] Fix issues with blank Width and Height controls (#37373)
* Allow custom preset's dimensions to be blank in the UI while still persisted as 0. * XAML formatting - reorder namespaces. * Add "(auto)" text to zero-value Width/Height in Settings. Ensure Width and Height fields in flyout are formatted to empty when their value is 0.
This commit is contained in:
@@ -1193,6 +1193,10 @@
|
||||
<value>TIFF compression</value>
|
||||
<comment>{Locked="TIFF"}</comment>
|
||||
</data>
|
||||
<data name="ImageResizer_AutoText" xml:space="preserve">
|
||||
<value>(auto)</value>
|
||||
<comment>Displayed on the preset card when the Width or Height property is zero. The same as "Input_Auto" in the ImageResizerUI project's resources.</comment>
|
||||
</data>
|
||||
<data name="File.Header" xml:space="preserve">
|
||||
<value>File</value>
|
||||
<comment>as in a computer file</comment>
|
||||
|
||||
Reference in New Issue
Block a user