mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 18:57:19 +02:00
* 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.
28 lines
1.4 KiB
XML
28 lines
1.4 KiB
XML
<Application
|
|
x:Class="ImageResizer.App"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:m="clr-namespace:ImageResizer.Models"
|
|
xmlns:sys="clr-namespace:System;assembly=System.Runtime"
|
|
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
|
|
xmlns:v="clr-namespace:ImageResizer.Views">
|
|
<Application.Resources>
|
|
<ResourceDictionary>
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<ui:ThemesDictionary Theme="Dark" />
|
|
<ui:ControlsDictionary />
|
|
</ResourceDictionary.MergedDictionaries>
|
|
|
|
<v:SizeTypeToVisibilityConverter x:Key="SizeTypeToVisibilityConverter" />
|
|
<v:SizeTypeToHelpTextConverter x:Key="SizeTypeToHelpTextConverter" />
|
|
<v:EnumValueConverter x:Key="EnumValueConverter" />
|
|
<v:AutoDoubleConverter x:Key="AutoDoubleConverter" />
|
|
<v:BoolValueConverter x:Key="BoolValueConverter" />
|
|
<v:VisibilityBoolConverter x:Key="VisibilityBoolConverter" />
|
|
<v:EnumToIntConverter x:Key="EnumToIntConverter" />
|
|
<v:AccessTextToTextConverter x:Key="AccessTextToTextConverter" />
|
|
<v:NumberBoxValueConverter x:Key="NumberBoxValueConverter" />
|
|
<v:ZeroToEmptyStringNumberFormatter x:Key="ZeroToEmptyStringNumberFormatter" />
|
|
</ResourceDictionary>
|
|
</Application.Resources>
|
|
</Application> |