mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-02-23 19:49:43 +01:00
Fixed width for controls so they are nicely aligned
This commit is contained in:
committed by
Enrico Giordani
parent
ae4cb6e372
commit
cee8253cd3
@@ -75,7 +75,7 @@
|
||||
|
||||
<CustomControls:HotkeySettingsControl
|
||||
x:Uid="FancyZones_HokeyEditorControl_Header"
|
||||
Width="320"
|
||||
Width="240"
|
||||
HorizontalAlignment="Left"
|
||||
Margin="{StaticResource SmallTopMargin}"
|
||||
HotkeySettings="{x:Bind Path=ViewModel.EditorHotkey, Mode=TwoWay}"
|
||||
@@ -134,11 +134,11 @@
|
||||
<TextBlock x:Uid="Appearance_GroupSettings"
|
||||
Style="{StaticResource SettingsGroupTitleStyle}"/>
|
||||
|
||||
<!-- TO DO: Do we still need this numberbox? The colorpicker has an Alpha/Opacity option as well so we could use that -->
|
||||
<muxc:NumberBox x:Uid="FancyZones_HighlightOpacity"
|
||||
Value="{ Binding Mode=TwoWay, Path=HighlightOpacity}"
|
||||
Minimum="0"
|
||||
Maximum="100"
|
||||
Width="240"
|
||||
SpinButtonPlacementMode="Compact"
|
||||
HorizontalAlignment="Left"
|
||||
Margin="{StaticResource SmallTopMargin}"
|
||||
@@ -235,6 +235,9 @@
|
||||
Margin="{StaticResource SmallTopMargin}"
|
||||
Text="{ Binding Mode=TwoWay, Path=ExcludedApps}"
|
||||
IsEnabled="{ Binding Mode=TwoWay, Path=IsEnabled}"
|
||||
Width="380"
|
||||
Height="160"
|
||||
HorizontalAlignment="Left"
|
||||
TextWrapping="Wrap"
|
||||
AcceptsReturn="True"/>
|
||||
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
Margin="{StaticResource SmallTopMargin}"/>
|
||||
|
||||
<ComboBox SelectedIndex="{Binding Path=Unit, Mode=TwoWay}"
|
||||
Width="90"
|
||||
Width="120"
|
||||
Height="34"
|
||||
VerticalAlignment="Center"
|
||||
Margin="{StaticResource SmallTopMargin}">
|
||||
@@ -180,7 +180,7 @@
|
||||
|
||||
<ComboBox Header="Fallback encoder"
|
||||
SelectedIndex="{Binding Path=Encoder, Mode=TwoWay, Source={StaticResource ViewModel}}"
|
||||
MinWidth="240"
|
||||
Width="240"
|
||||
Margin="{StaticResource SmallTopMargin}"
|
||||
IsEnabled="{ Binding Mode=TwoWay, Path=IsEnabled, Source={StaticResource ViewModel}}">
|
||||
<ComboBoxItem x:Uid="ImageResizer_FallbackEncoder_PNG" />
|
||||
@@ -196,7 +196,7 @@
|
||||
Minimum="0"
|
||||
Maximum="100"
|
||||
Value="{ Binding Mode=TwoWay, Path=JPEGQualityLevel, Source={StaticResource ViewModel}}"
|
||||
MinWidth="240"
|
||||
Width="240"
|
||||
SpinButtonPlacementMode="Compact"
|
||||
HorizontalAlignment="Left"
|
||||
Margin="{StaticResource SmallTopMargin}"
|
||||
@@ -204,7 +204,7 @@
|
||||
|
||||
<ComboBox Header="PNG interlacing"
|
||||
SelectedIndex="{ Binding Mode=TwoWay, Path=PngInterlaceOption, Source={StaticResource ViewModel}}"
|
||||
MinWidth="240"
|
||||
Width="240"
|
||||
Margin="{StaticResource SmallTopMargin}"
|
||||
IsEnabled="{ Binding Mode=TwoWay, Path=IsEnabled, Source={StaticResource ViewModel}}">
|
||||
<ComboBoxItem x:Uid="Default"/>
|
||||
@@ -214,7 +214,7 @@
|
||||
|
||||
<ComboBox Header="TIFF Compression"
|
||||
SelectedIndex="{ Binding Mode=TwoWay, Path=TiffCompressOption, Source={StaticResource ViewModel}}"
|
||||
MinWidth="240"
|
||||
Width="240"
|
||||
Margin="{StaticResource SmallTopMargin}"
|
||||
IsEnabled="{ Binding Mode=TwoWay, Path=IsEnabled, Source={StaticResource ViewModel}}">
|
||||
<ComboBoxItem x:Uid="ImageResizer_ENCODER_TIFF_Default"/>
|
||||
@@ -226,11 +226,9 @@
|
||||
<ComboBoxItem x:Uid="ImageResizer_ENCODER_TIFF_Zip"/>
|
||||
</ComboBox>
|
||||
|
||||
<TextBlock Text="File"
|
||||
Style="{StaticResource SettingsGroupTitleStyle}"/>
|
||||
<TextBlock Text="File" Style="{StaticResource SettingsGroupTitleStyle}"/>
|
||||
|
||||
<TextBlock Text="The following parameters can be used:"
|
||||
Margin="{StaticResource SmallTopBottomMargin}"/>
|
||||
<TextBlock Text="The following parameters can be used:" Margin="{StaticResource SmallTopBottomMargin}"/>
|
||||
|
||||
<TextBlock FontSize="12">
|
||||
<Run FontWeight="Bold">%1</Run>
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
|
||||
<muxc:NumberBox x:Uid="PowerLauncher_MaximumNumberOfResults"
|
||||
Value="{x:Bind Mode=TwoWay, Path=ViewModel.MaximumNumberOfResults}"
|
||||
Width="320"
|
||||
Width="240"
|
||||
SpinButtonPlacementMode="Compact"
|
||||
HorizontalAlignment="Left"
|
||||
Margin="{StaticResource SmallTopMargin}"
|
||||
@@ -85,12 +85,11 @@
|
||||
IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"/>
|
||||
|
||||
<TextBlock x:Uid="PowerLauncher_Shortcuts"
|
||||
Width="320"
|
||||
HorizontalAlignment="Left"
|
||||
Style="{StaticResource SettingsGroupTitleStyle}"/>
|
||||
|
||||
<Custom:HotkeySettingsControl x:Uid="PowerLauncher_OpenPowerLauncher"
|
||||
Width="320"
|
||||
Width="240"
|
||||
HorizontalAlignment="Left"
|
||||
Margin="{StaticResource SmallTopMargin}"
|
||||
HotkeySettings="{x:Bind Path=ViewModel.OpenPowerLauncher, Mode=TwoWay}"
|
||||
|
||||
@@ -83,6 +83,7 @@
|
||||
Margin="{StaticResource SmallTopMargin}"
|
||||
Value="{Binding Mode=TwoWay, Path=MaxDispListNum}"
|
||||
Minimum="0"
|
||||
Width="320"
|
||||
Maximum="20"
|
||||
IsEnabled="{ Binding Mode=TwoWay, Path=GlobalAndMruEnabled}"
|
||||
/>
|
||||
|
||||
@@ -58,12 +58,14 @@
|
||||
SpinButtonPlacementMode="Compact"
|
||||
HorizontalAlignment="Left"
|
||||
Margin="{StaticResource SmallTopMargin}"
|
||||
MinWidth="240"
|
||||
Value="{ Binding Mode=TwoWay, Path=PressTime}"
|
||||
IsEnabled="{ Binding Mode=TwoWay, Path=IsEnabled}" SmallChange="50" LargeChange="100"/>
|
||||
|
||||
<Slider x:Uid="ShortcutGuide_OverlayOpacity"
|
||||
Minimum="0"
|
||||
Maximum="100"
|
||||
Width="240"
|
||||
Value="{ Binding Mode=TwoWay, Path=OverlayOpacity}"
|
||||
HorizontalAlignment="Left"
|
||||
Margin="{StaticResource MediumTopMargin}"
|
||||
|
||||
Reference in New Issue
Block a user