mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-06-07 01:08:18 +08:00
Migrate numberboxes to compact mode (#3375)
This commit is contained in:
parent
d047e95bb5
commit
c674fe1f04
@ -147,10 +147,10 @@
|
|||||||
Value="{ Binding Mode=TwoWay, Path=HighlightOpacity}"
|
Value="{ Binding Mode=TwoWay, Path=HighlightOpacity}"
|
||||||
Minimum="0"
|
Minimum="0"
|
||||||
Maximum="100"
|
Maximum="100"
|
||||||
SpinButtonPlacementMode="Inline"
|
SpinButtonPlacementMode="Compact"
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
Margin="{StaticResource SmallTopMargin}"
|
Margin="{StaticResource SmallTopMargin}"
|
||||||
IsEnabled="{ Binding Mode=TwoWay, Path=IsEnabled}"/>
|
IsEnabled="{ Binding Mode=TwoWay, Path=IsEnabled}" />
|
||||||
|
|
||||||
<TextBlock x:Uid="FancyZones_ZoneHighlightColor"
|
<TextBlock x:Uid="FancyZones_ZoneHighlightColor"
|
||||||
Style="{StaticResource BodyTextBlockStyle}"
|
Style="{StaticResource BodyTextBlockStyle}"
|
||||||
|
@ -117,6 +117,7 @@
|
|||||||
<muxc:NumberBox Value="{x:Bind Path=Width, Mode=TwoWay}"
|
<muxc:NumberBox Value="{x:Bind Path=Width, Mode=TwoWay}"
|
||||||
Width="68"
|
Width="68"
|
||||||
Height="34"
|
Height="34"
|
||||||
|
SpinButtonPlacementMode="Compact"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
Margin="{StaticResource SmallTopMargin}"/>
|
Margin="{StaticResource SmallTopMargin}"/>
|
||||||
|
|
||||||
@ -131,6 +132,7 @@
|
|||||||
Width="68"
|
Width="68"
|
||||||
Height="34"
|
Height="34"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
|
SpinButtonPlacementMode="Compact"
|
||||||
Margin="{StaticResource SmallTopMargin}"/>
|
Margin="{StaticResource SmallTopMargin}"/>
|
||||||
|
|
||||||
<ComboBox SelectedIndex="{Binding Path=Unit, Mode=TwoWay}"
|
<ComboBox SelectedIndex="{Binding Path=Unit, Mode=TwoWay}"
|
||||||
@ -193,7 +195,7 @@
|
|||||||
Maximum="100"
|
Maximum="100"
|
||||||
Value="{ Binding Mode=TwoWay, Path=JPEGQualityLevel, Source={StaticResource ViewModel}}"
|
Value="{ Binding Mode=TwoWay, Path=JPEGQualityLevel, Source={StaticResource ViewModel}}"
|
||||||
MinWidth="240"
|
MinWidth="240"
|
||||||
SpinButtonPlacementMode="Inline"
|
SpinButtonPlacementMode="Compact"
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
Margin="{StaticResource SmallTopMargin}"
|
Margin="{StaticResource SmallTopMargin}"
|
||||||
IsEnabled="{ Binding Mode=TwoWay, Path=IsEnabled, Source={StaticResource ViewModel}}"/>
|
IsEnabled="{ Binding Mode=TwoWay, Path=IsEnabled, Source={StaticResource ViewModel}}"/>
|
||||||
|
@ -76,7 +76,7 @@
|
|||||||
<muxc:NumberBox x:Uid="PowerLauncher_MaximumNumberOfResults"
|
<muxc:NumberBox x:Uid="PowerLauncher_MaximumNumberOfResults"
|
||||||
Value="{x:Bind Mode=TwoWay, Path=ViewModel.MaximumNumberOfResults}"
|
Value="{x:Bind Mode=TwoWay, Path=ViewModel.MaximumNumberOfResults}"
|
||||||
Width="320"
|
Width="320"
|
||||||
SpinButtonPlacementMode="Inline"
|
SpinButtonPlacementMode="Compact"
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
Margin="{StaticResource SmallTopMargin}"
|
Margin="{StaticResource SmallTopMargin}"
|
||||||
Minimum="1"
|
Minimum="1"
|
||||||
|
@ -76,7 +76,7 @@
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<muxc:NumberBox x:Uid="PowerRename_Toggle_MaxDispListNum"
|
<muxc:NumberBox x:Uid="PowerRename_Toggle_MaxDispListNum"
|
||||||
SpinButtonPlacementMode="Inline"
|
SpinButtonPlacementMode="Compact"
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
Margin="{StaticResource SmallTopMargin}"
|
Margin="{StaticResource SmallTopMargin}"
|
||||||
Value="{Binding Mode=TwoWay, Path=MaxDispListNum}"
|
Value="{Binding Mode=TwoWay, Path=MaxDispListNum}"
|
||||||
|
@ -53,8 +53,7 @@
|
|||||||
|
|
||||||
<muxc:NumberBox x:Uid="ShortcutGuide_PressTime"
|
<muxc:NumberBox x:Uid="ShortcutGuide_PressTime"
|
||||||
Minimum="100"
|
Minimum="100"
|
||||||
|
SpinButtonPlacementMode="Compact"
|
||||||
SpinButtonPlacementMode="Inline"
|
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
Margin="{StaticResource SmallTopMargin}"
|
Margin="{StaticResource SmallTopMargin}"
|
||||||
Value="{ Binding Mode=TwoWay, Path=PressTime}"
|
Value="{ Binding Mode=TwoWay, Path=PressTime}"
|
||||||
|
Loading…
Reference in New Issue
Block a user