mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 19:57:57 +01:00
minimum size width and height (#11380)
This commit is contained in:
committed by
GitHub
parent
b84e9da005
commit
4a65aa3d0e
@@ -123,7 +123,7 @@
|
|||||||
</ComboBox.ItemTemplate>
|
</ComboBox.ItemTemplate>
|
||||||
</ComboBox>
|
</ComboBox>
|
||||||
<ui:NumberBox SpinButtonPlacementMode="Compact"
|
<ui:NumberBox SpinButtonPlacementMode="Compact"
|
||||||
Minimum="1"
|
Minimum="0"
|
||||||
Width="102"
|
Width="102"
|
||||||
Style="{StaticResource DisabledWhenUnselectedTextBoxStyle}"
|
Style="{StaticResource DisabledWhenUnselectedTextBoxStyle}"
|
||||||
AutomationProperties.Name="{x:Static p:Resources.Width}"
|
AutomationProperties.Name="{x:Static p:Resources.Width}"
|
||||||
@@ -146,7 +146,7 @@
|
|||||||
|
|
||||||
<ui:NumberBox Style="{StaticResource DisabledWhenUnselectedTextBoxStyle}"
|
<ui:NumberBox Style="{StaticResource DisabledWhenUnselectedTextBoxStyle}"
|
||||||
SpinButtonPlacementMode="Compact"
|
SpinButtonPlacementMode="Compact"
|
||||||
Minimum="1"
|
Minimum="0"
|
||||||
Width="102"
|
Width="102"
|
||||||
AutomationProperties.Name="{x:Static p:Resources.Height}"
|
AutomationProperties.Name="{x:Static p:Resources.Height}"
|
||||||
Visibility="{Binding ShowHeight,Converter={StaticResource BoolValueConverter}}">
|
Visibility="{Binding ShowHeight,Converter={StaticResource BoolValueConverter}}">
|
||||||
|
|||||||
@@ -153,6 +153,7 @@
|
|||||||
<muxc:NumberBox Name="ImageResizer_Width_Property"
|
<muxc:NumberBox Name="ImageResizer_Width_Property"
|
||||||
x:Uid="ImageResizer_Width_Property"
|
x:Uid="ImageResizer_Width_Property"
|
||||||
Value="{x:Bind Path=Width, Mode=TwoWay}"
|
Value="{x:Bind Path=Width, Mode=TwoWay}"
|
||||||
|
Minimum="0"
|
||||||
MinWidth="68"
|
MinWidth="68"
|
||||||
SpinButtonPlacementMode="Compact"
|
SpinButtonPlacementMode="Compact"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
@@ -172,6 +173,7 @@
|
|||||||
x:Uid="ImageResizer_Height_Property"
|
x:Uid="ImageResizer_Height_Property"
|
||||||
Value="{x:Bind Path=Height, Mode=TwoWay}"
|
Value="{x:Bind Path=Height, Mode=TwoWay}"
|
||||||
MinWidth="68"
|
MinWidth="68"
|
||||||
|
Minimum="0"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
SpinButtonPlacementMode="Compact"
|
SpinButtonPlacementMode="Compact"
|
||||||
Opacity="{x:Bind Path=ExtraBoxOpacity, Mode=OneWay}"
|
Opacity="{x:Bind Path=ExtraBoxOpacity, Mode=OneWay}"
|
||||||
|
|||||||
Reference in New Issue
Block a user