mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 12:46:47 +02:00
Settings accessibility issues with clipping on large text (#7459)
* Fix issues found in 7068 * fixed a few more
This commit is contained in:
@@ -50,12 +50,12 @@
|
|||||||
IsOn="{Binding IsEnabled, Mode=TwoWay}"/>
|
IsOn="{Binding IsEnabled, Mode=TwoWay}"/>
|
||||||
|
|
||||||
<Custom:HotkeySettingsControl x:Uid="ColorPicker_ActivationShortcut"
|
<Custom:HotkeySettingsControl x:Uid="ColorPicker_ActivationShortcut"
|
||||||
Width="240"
|
|
||||||
HorizontalAlignment="Left"
|
|
||||||
Margin="{StaticResource MediumTopMargin}"
|
Margin="{StaticResource MediumTopMargin}"
|
||||||
HotkeySettings="{x:Bind Path=ViewModel.ActivationShortcut, Mode=TwoWay}"
|
HotkeySettings="{x:Bind Path=ViewModel.ActivationShortcut, Mode=TwoWay}"
|
||||||
Keys="Win, Ctrl, Alt, Shift"
|
Keys="Win, Ctrl, Alt, Shift"
|
||||||
Enabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"
|
Enabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"
|
||||||
|
HorizontalAlignment="Left"
|
||||||
|
MinWidth="240"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<TextBlock x:Uid="ShortcutGuide_Appearance_Behavior"
|
<TextBlock x:Uid="ShortcutGuide_Appearance_Behavior"
|
||||||
@@ -63,10 +63,11 @@
|
|||||||
Foreground="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled, Converter={StaticResource ModuleEnabledToForegroundConverter}}"/>
|
Foreground="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled, Converter={StaticResource ModuleEnabledToForegroundConverter}}"/>
|
||||||
|
|
||||||
<ComboBox x:Uid="ColorPicker_CopiedColorRepresentation"
|
<ComboBox x:Uid="ColorPicker_CopiedColorRepresentation"
|
||||||
SelectedIndex="{Binding CopiedColorRepresentationIndex, Mode=TwoWay}"
|
SelectedIndex="{Binding CopiedColorRepresentationIndex, Mode=TwoWay}"
|
||||||
Margin="{StaticResource SmallTopMargin}"
|
Margin="{StaticResource SmallTopMargin}"
|
||||||
Width="240"
|
IsEnabled="{Binding IsEnabled}"
|
||||||
IsEnabled="{Binding IsEnabled}">
|
HorizontalAlignment="Left"
|
||||||
|
MinWidth="240">
|
||||||
<ComboBoxItem Content="HEX - #FFAA00"/>
|
<ComboBoxItem Content="HEX - #FFAA00"/>
|
||||||
<ComboBoxItem Content="RGB - rgb(100, 50, 75)"/>
|
<ComboBoxItem Content="RGB - rgb(100, 50, 75)"/>
|
||||||
<ComboBoxItem Content="CMYK - cmyk(100%, 50%, 75%, 0%)"/>
|
<ComboBoxItem Content="CMYK - cmyk(100%, 50%, 75%, 0%)"/>
|
||||||
|
|||||||
@@ -76,13 +76,13 @@
|
|||||||
Foreground="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled, Converter={StaticResource ModuleEnabledToForegroundConverter}}"/>
|
Foreground="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled, Converter={StaticResource ModuleEnabledToForegroundConverter}}"/>
|
||||||
|
|
||||||
<CustomControls:HotkeySettingsControl
|
<CustomControls:HotkeySettingsControl
|
||||||
Width="240"
|
|
||||||
x:Uid="FancyZones_HotkeyEditorControl"
|
x:Uid="FancyZones_HotkeyEditorControl"
|
||||||
HorizontalAlignment="Left"
|
|
||||||
Margin="{StaticResource SmallTopMargin}"
|
Margin="{StaticResource SmallTopMargin}"
|
||||||
HotkeySettings="{x:Bind Path=ViewModel.EditorHotkey, Mode=TwoWay}"
|
HotkeySettings="{x:Bind Path=ViewModel.EditorHotkey, Mode=TwoWay}"
|
||||||
Keys="Win, Ctrl, Alt, Shift"
|
Keys="Win, Ctrl, Alt, Shift"
|
||||||
Enabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"
|
Enabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"
|
||||||
|
HorizontalAlignment="Left"
|
||||||
|
MinWidth="240"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<CheckBox x:Uid="FancyZones_ShiftDragCheckBoxControl_Header"
|
<CheckBox x:Uid="FancyZones_ShiftDragCheckBoxControl_Header"
|
||||||
@@ -166,7 +166,7 @@
|
|||||||
<Slider x:Uid="FancyZones_HighlightOpacity"
|
<Slider x:Uid="FancyZones_HighlightOpacity"
|
||||||
Minimum="0"
|
Minimum="0"
|
||||||
Maximum="100"
|
Maximum="100"
|
||||||
Width="240"
|
MinWidth="240"
|
||||||
IsThumbToolTipEnabled="False"
|
IsThumbToolTipEnabled="False"
|
||||||
Value="{x:Bind Mode=TwoWay, Path=ViewModel.HighlightOpacity}"
|
Value="{x:Bind Mode=TwoWay, Path=ViewModel.HighlightOpacity}"
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
@@ -234,7 +234,6 @@
|
|||||||
<Flyout>
|
<Flyout>
|
||||||
<muxc:ColorPicker x:Name="FancyZones_InActiveColorPicker"
|
<muxc:ColorPicker x:Name="FancyZones_InActiveColorPicker"
|
||||||
Margin="0,6,0,0"
|
Margin="0,6,0,0"
|
||||||
HorizontalAlignment="Left"
|
|
||||||
IsColorSliderVisible="True"
|
IsColorSliderVisible="True"
|
||||||
IsColorChannelTextInputVisible="True"
|
IsColorChannelTextInputVisible="True"
|
||||||
IsHexInputVisible="True"
|
IsHexInputVisible="True"
|
||||||
@@ -285,14 +284,14 @@
|
|||||||
Margin="{StaticResource SmallTopMargin}"
|
Margin="{StaticResource SmallTopMargin}"
|
||||||
Text="{x:Bind Mode=TwoWay, Path=ViewModel.ExcludedApps}"
|
Text="{x:Bind Mode=TwoWay, Path=ViewModel.ExcludedApps}"
|
||||||
IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"
|
IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"
|
||||||
Width="375"
|
|
||||||
Height="160"
|
|
||||||
HorizontalAlignment="Left"
|
|
||||||
ScrollViewer.VerticalScrollBarVisibility ="Visible"
|
ScrollViewer.VerticalScrollBarVisibility ="Visible"
|
||||||
ScrollViewer.VerticalScrollMode="Enabled"
|
ScrollViewer.VerticalScrollMode="Enabled"
|
||||||
ScrollViewer.IsVerticalRailEnabled="True"
|
ScrollViewer.IsVerticalRailEnabled="True"
|
||||||
TextWrapping="Wrap"
|
TextWrapping="Wrap"
|
||||||
AcceptsReturn="True"/>
|
AcceptsReturn="True"
|
||||||
|
HorizontalAlignment="Left"
|
||||||
|
MinWidth="240"
|
||||||
|
MinHeight="160" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
<RelativePanel x:Name="SidePanel"
|
<RelativePanel x:Name="SidePanel"
|
||||||
|
|||||||
@@ -51,10 +51,13 @@
|
|||||||
|
|
||||||
<StackPanel Orientation="Vertical"
|
<StackPanel Orientation="Vertical"
|
||||||
x:Name="GeneralView">
|
x:Name="GeneralView">
|
||||||
<TextBlock x:Uid="Admin_Mode" FontWeight="SemiBold"
|
<TextBlock x:Uid="Admin_Mode"
|
||||||
|
FontWeight="SemiBold"
|
||||||
|
TextWrapping="Wrap"
|
||||||
Style="{StaticResource SubtitleTextBlockStyle}"/>
|
Style="{StaticResource SubtitleTextBlockStyle}"/>
|
||||||
|
|
||||||
<TextBlock Text="{x:Bind Mode=TwoWay, Path=ViewModel.RunningAsText}"
|
<TextBlock Text="{x:Bind Mode=TwoWay, Path=ViewModel.RunningAsText}"
|
||||||
|
TextWrapping="Wrap"
|
||||||
Margin="{StaticResource SmallTopMargin}"/>
|
Margin="{StaticResource SmallTopMargin}"/>
|
||||||
|
|
||||||
<Button x:Uid="GeneralPage_RestartAsAdmin_Button"
|
<Button x:Uid="GeneralPage_RestartAsAdmin_Button"
|
||||||
@@ -66,6 +69,7 @@
|
|||||||
|
|
||||||
<TextBlock x:Uid="General_RunAsAdminRequired"
|
<TextBlock x:Uid="General_RunAsAdminRequired"
|
||||||
Foreground="{ThemeResource SystemControlErrorTextForegroundBrush}"
|
Foreground="{ThemeResource SystemControlErrorTextForegroundBrush}"
|
||||||
|
TextWrapping="Wrap"
|
||||||
Visibility="{Binding Mode=TwoWay, Path=IsElevated, Converter={StaticResource BoolToVisibilityConverter}}"
|
Visibility="{Binding Mode=TwoWay, Path=IsElevated, Converter={StaticResource BoolToVisibilityConverter}}"
|
||||||
Margin="0,24,0,-8" />
|
Margin="0,24,0,-8" />
|
||||||
|
|
||||||
@@ -75,7 +79,7 @@
|
|||||||
IsOn="{Binding Mode=TwoWay, Path=RunElevated}"/>
|
IsOn="{Binding Mode=TwoWay, Path=RunElevated}"/>
|
||||||
|
|
||||||
<HyperlinkButton NavigateUri="https://aka.ms/powertoysDetectedElevatedHelp">
|
<HyperlinkButton NavigateUri="https://aka.ms/powertoysDetectedElevatedHelp">
|
||||||
<TextBlock x:Uid="GeneralPage_ToggleSwitch_AlwaysRunElevated_Link" />
|
<TextBlock x:Uid="GeneralPage_ToggleSwitch_AlwaysRunElevated_Link" TextWrapping="Wrap" />
|
||||||
</HyperlinkButton>
|
</HyperlinkButton>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -90,7 +90,35 @@
|
|||||||
<Setter Property="Template">
|
<Setter Property="Template">
|
||||||
<Setter.Value>
|
<Setter.Value>
|
||||||
<ControlTemplate TargetType="ListViewItem">
|
<ControlTemplate TargetType="ListViewItem">
|
||||||
<ListViewItemPresenter CheckBrush="{ThemeResource ListViewItemCheckBrush}" ContentMargin="{TemplateBinding Padding}" CheckMode="{ThemeResource ListViewItemCheckMode}" ContentTransitions="{TemplateBinding ContentTransitions}" CheckBoxBrush="{ThemeResource ListViewItemCheckBoxBrush}" DragForeground="{ThemeResource ListViewItemDragForeground}" DragOpacity="{ThemeResource ListViewItemDragThemeOpacity}" DragBackground="{ThemeResource ListViewItemDragBackground}" DisabledOpacity="{ThemeResource ListViewItemDisabledThemeOpacity}" FocusVisualPrimaryBrush="{TemplateBinding FocusVisualPrimaryBrush}" FocusVisualSecondaryThickness="{TemplateBinding FocusVisualSecondaryThickness}" FocusBorderBrush="{ThemeResource ListViewItemFocusBorderBrush}" FocusVisualMargin="{TemplateBinding FocusVisualMargin}" FocusVisualPrimaryThickness="{TemplateBinding FocusVisualPrimaryThickness}" FocusSecondaryBorderBrush="{ThemeResource ListViewItemFocusSecondaryBorderBrush}" FocusVisualSecondaryBrush="{TemplateBinding FocusVisualSecondaryBrush}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" Control.IsTemplateFocusTarget="True" PointerOverForeground="{ThemeResource ListViewItemForegroundPointerOver}" PressedBackground="{ThemeResource ListViewItemBackgroundPressed}" PlaceholderBackground="{ThemeResource ListViewItemPlaceholderBackground}" PointerOverBackground="{ThemeResource ListViewItemBackgroundPointerOver}" ReorderHintOffset="{ThemeResource ListViewItemReorderHintThemeOffset}" SelectedPressedBackground="{ThemeResource ListViewItemBackgroundSelectedPressed}" SelectionCheckMarkVisualEnabled="{ThemeResource ListViewItemSelectionCheckMarkVisualEnabled}" SelectedForeground="{ThemeResource ListViewItemForegroundSelected}" SelectedPointerOverBackground="{ThemeResource ListViewItemBackgroundSelectedPointerOver}" SelectedBackground="{ThemeResource ListViewItemBackgroundSelected}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"/>
|
<ListViewItemPresenter
|
||||||
|
CheckBrush="{ThemeResource ListViewItemCheckBrush}"
|
||||||
|
ContentMargin="{TemplateBinding Padding}"
|
||||||
|
CheckMode="{ThemeResource ListViewItemCheckMode}"
|
||||||
|
ContentTransitions="{TemplateBinding ContentTransitions}"
|
||||||
|
CheckBoxBrush="{ThemeResource ListViewItemCheckBoxBrush}"
|
||||||
|
DragForeground="{ThemeResource ListViewItemDragForeground}"
|
||||||
|
DragOpacity="{ThemeResource ListViewItemDragThemeOpacity}"
|
||||||
|
DragBackground="{ThemeResource ListViewItemDragBackground}"
|
||||||
|
DisabledOpacity="{ThemeResource ListViewItemDisabledThemeOpacity}"
|
||||||
|
FocusVisualPrimaryBrush="{TemplateBinding FocusVisualPrimaryBrush}"
|
||||||
|
FocusVisualSecondaryThickness="{TemplateBinding FocusVisualSecondaryThickness}"
|
||||||
|
FocusBorderBrush="{ThemeResource ListViewItemFocusBorderBrush}"
|
||||||
|
FocusVisualMargin="{TemplateBinding FocusVisualMargin}"
|
||||||
|
FocusVisualPrimaryThickness="{TemplateBinding FocusVisualPrimaryThickness}"
|
||||||
|
FocusSecondaryBorderBrush="{ThemeResource ListViewItemFocusSecondaryBorderBrush}"
|
||||||
|
FocusVisualSecondaryBrush="{TemplateBinding FocusVisualSecondaryBrush}"
|
||||||
|
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
|
||||||
|
Control.IsTemplateFocusTarget="True"
|
||||||
|
PointerOverForeground="{ThemeResource ListViewItemForegroundPointerOver}"
|
||||||
|
PressedBackground="{ThemeResource ListViewItemBackgroundPressed}"
|
||||||
|
PlaceholderBackground="{ThemeResource ListViewItemPlaceholderBackground}"
|
||||||
|
PointerOverBackground="{ThemeResource ListViewItemBackgroundPointerOver}" ReorderHintOffset="{ThemeResource ListViewItemReorderHintThemeOffset}"
|
||||||
|
SelectedPressedBackground="{ThemeResource ListViewItemBackgroundSelectedPressed}"
|
||||||
|
SelectionCheckMarkVisualEnabled="{ThemeResource ListViewItemSelectionCheckMarkVisualEnabled}"
|
||||||
|
SelectedForeground="{ThemeResource ListViewItemForegroundSelected}"
|
||||||
|
SelectedPointerOverBackground="{ThemeResource ListViewItemBackgroundSelectedPointerOver}"
|
||||||
|
SelectedBackground="{ThemeResource ListViewItemBackgroundSelected}"
|
||||||
|
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"/>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
</Setter.Value>
|
</Setter.Value>
|
||||||
</Setter>
|
</Setter>
|
||||||
@@ -99,13 +127,12 @@
|
|||||||
</ListView.ItemContainerStyle>
|
</ListView.ItemContainerStyle>
|
||||||
<ListView.ItemTemplate>
|
<ListView.ItemTemplate>
|
||||||
<DataTemplate x:Name="SingleLineDataTemplate" x:DataType="models:ImageSize" >
|
<DataTemplate x:Name="SingleLineDataTemplate" x:DataType="models:ImageSize" >
|
||||||
<StackPanel Name="ImageResizer_Configurations" x:Uid="ImageResizer_Configurations" Orientation="Horizontal" Height="48" Padding="0" Spacing="4">
|
<StackPanel Name="ImageResizer_Configurations" x:Uid="ImageResizer_Configurations" Orientation="Horizontal" Padding="0" Spacing="4">
|
||||||
<TextBox Name="ImageResizer_Name"
|
<TextBox Name="ImageResizer_Name"
|
||||||
x:Uid="ImageResizer_Name"
|
x:Uid="ImageResizer_Name"
|
||||||
Text="{x:Bind Path=Name, Mode=TwoWay}"
|
Text="{x:Bind Path=Name, Mode=TwoWay}"
|
||||||
Width="90"
|
Width="90"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
Height="34"
|
|
||||||
Margin="{StaticResource SmallTopMargin}"/>
|
Margin="{StaticResource SmallTopMargin}"/>
|
||||||
|
|
||||||
<ComboBox Name="ImageResizer_Fit_Property"
|
<ComboBox Name="ImageResizer_Fit_Property"
|
||||||
@@ -113,7 +140,6 @@
|
|||||||
SelectedIndex="{x:Bind Path=Fit, Mode=TwoWay}"
|
SelectedIndex="{x:Bind Path=Fit, Mode=TwoWay}"
|
||||||
Width="90"
|
Width="90"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
Height="34"
|
|
||||||
Margin="{StaticResource SmallTopMargin}">
|
Margin="{StaticResource SmallTopMargin}">
|
||||||
<ComboBoxItem x:Uid="ImageResizer_Sizes_Fit_Fill" />
|
<ComboBoxItem x:Uid="ImageResizer_Sizes_Fit_Fill" />
|
||||||
<ComboBoxItem x:Uid="ImageResizer_Sizes_Fit_Fit" />
|
<ComboBoxItem x:Uid="ImageResizer_Sizes_Fit_Fit" />
|
||||||
@@ -123,8 +149,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}"
|
||||||
Width="68"
|
MinWidth="68"
|
||||||
Height="34"
|
|
||||||
SpinButtonPlacementMode="Compact"
|
SpinButtonPlacementMode="Compact"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
Margin="{StaticResource SmallTopMargin}"/>
|
Margin="{StaticResource SmallTopMargin}"/>
|
||||||
@@ -142,8 +167,7 @@
|
|||||||
<muxc:NumberBox Name="ImageResizer_Height_Property"
|
<muxc:NumberBox Name="ImageResizer_Height_Property"
|
||||||
x:Uid="ImageResizer_Height_Property"
|
x:Uid="ImageResizer_Height_Property"
|
||||||
Value="{x:Bind Path=Height, Mode=TwoWay}"
|
Value="{x:Bind Path=Height, Mode=TwoWay}"
|
||||||
Width="68"
|
MinWidth="68"
|
||||||
Height="34"
|
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
SpinButtonPlacementMode="Compact"
|
SpinButtonPlacementMode="Compact"
|
||||||
Opacity="{x:Bind Path=ExtraBoxOpacity, Mode=OneWay}"
|
Opacity="{x:Bind Path=ExtraBoxOpacity, Mode=OneWay}"
|
||||||
@@ -153,8 +177,7 @@
|
|||||||
<ComboBox Name="ImageResizer_Size_Property"
|
<ComboBox Name="ImageResizer_Size_Property"
|
||||||
x:Uid="ImageResizer_Size_Property"
|
x:Uid="ImageResizer_Size_Property"
|
||||||
SelectedIndex="{Binding Path=Unit, Mode=TwoWay}"
|
SelectedIndex="{Binding Path=Unit, Mode=TwoWay}"
|
||||||
Width="120"
|
MinWidth="120"
|
||||||
Height="34"
|
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
Margin="{StaticResource SmallTopMargin}">
|
Margin="{StaticResource SmallTopMargin}">
|
||||||
<ComboBoxItem x:Uid="ImageResizer_Sizes_Units_CM" />
|
<ComboBoxItem x:Uid="ImageResizer_Sizes_Units_CM" />
|
||||||
@@ -166,7 +189,6 @@
|
|||||||
x:Uid="RemoveButton"
|
x:Uid="RemoveButton"
|
||||||
Background="Transparent"
|
Background="Transparent"
|
||||||
FontFamily="Segoe MDL2 Assets"
|
FontFamily="Segoe MDL2 Assets"
|
||||||
Height="34"
|
|
||||||
Width="34"
|
Width="34"
|
||||||
Content=""
|
Content=""
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
@@ -183,7 +205,6 @@
|
|||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
<AppBarButton Icon="Add"
|
<AppBarButton Icon="Add"
|
||||||
x:Name="AddSizeButton"
|
x:Name="AddSizeButton"
|
||||||
Width="560"
|
|
||||||
Style="{StaticResource AddItemAppBarButtonStyle}"
|
Style="{StaticResource AddItemAppBarButtonStyle}"
|
||||||
IsEnabled="{x:Bind Mode=TwoWay, Path=ViewModel.IsEnabled}"
|
IsEnabled="{x:Bind Mode=TwoWay, Path=ViewModel.IsEnabled}"
|
||||||
x:Uid="ImageResizer_AddSizeButton"
|
x:Uid="ImageResizer_AddSizeButton"
|
||||||
@@ -199,7 +220,7 @@
|
|||||||
|
|
||||||
<ComboBox x:Uid="ImageResizer_FallBackEncoderText"
|
<ComboBox x:Uid="ImageResizer_FallBackEncoderText"
|
||||||
SelectedIndex="{x:Bind Path=ViewModel.Encoder, Mode=TwoWay}"
|
SelectedIndex="{x:Bind Path=ViewModel.Encoder, Mode=TwoWay}"
|
||||||
Width="240"
|
MinWidth="240"
|
||||||
Margin="{StaticResource SmallTopMargin}"
|
Margin="{StaticResource SmallTopMargin}"
|
||||||
IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}">
|
IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}">
|
||||||
<ComboBoxItem x:Uid="ImageResizer_FallbackEncoder_PNG" />
|
<ComboBoxItem x:Uid="ImageResizer_FallbackEncoder_PNG" />
|
||||||
@@ -214,7 +235,7 @@
|
|||||||
Minimum="0"
|
Minimum="0"
|
||||||
Maximum="100"
|
Maximum="100"
|
||||||
Value="{x:Bind Mode=TwoWay, Path=ViewModel.JPEGQualityLevel}"
|
Value="{x:Bind Mode=TwoWay, Path=ViewModel.JPEGQualityLevel}"
|
||||||
Width="240"
|
MinWidth="240"
|
||||||
Margin="{StaticResource SmallTopMargin}"
|
Margin="{StaticResource SmallTopMargin}"
|
||||||
SpinButtonPlacementMode="Compact"
|
SpinButtonPlacementMode="Compact"
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
@@ -224,7 +245,7 @@
|
|||||||
|
|
||||||
<ComboBox x:Uid="ImageResizer_PNGInterlacing"
|
<ComboBox x:Uid="ImageResizer_PNGInterlacing"
|
||||||
SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.PngInterlaceOption}"
|
SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.PngInterlaceOption}"
|
||||||
Width="240"
|
MinWidth="240"
|
||||||
Margin="{StaticResource SmallTopMargin}"
|
Margin="{StaticResource SmallTopMargin}"
|
||||||
IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}">
|
IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}">
|
||||||
<ComboBoxItem x:Uid="Default"/>
|
<ComboBoxItem x:Uid="Default"/>
|
||||||
@@ -234,7 +255,7 @@
|
|||||||
|
|
||||||
<ComboBox x:Uid="ImageResizer_TIFFCompression"
|
<ComboBox x:Uid="ImageResizer_TIFFCompression"
|
||||||
SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.TiffCompressOption}"
|
SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.TiffCompressOption}"
|
||||||
Width="240"
|
MinWidth="240"
|
||||||
Margin="{StaticResource SmallTopMargin}"
|
Margin="{StaticResource SmallTopMargin}"
|
||||||
IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}">
|
IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}">
|
||||||
<ComboBoxItem x:Uid="ImageResizer_ENCODER_TIFF_Default"/>
|
<ComboBoxItem x:Uid="ImageResizer_ENCODER_TIFF_Default"/>
|
||||||
|
|||||||
@@ -54,21 +54,19 @@
|
|||||||
Foreground="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher, Converter={StaticResource ModuleEnabledToForegroundConverter}}"/>
|
Foreground="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher, Converter={StaticResource ModuleEnabledToForegroundConverter}}"/>
|
||||||
|
|
||||||
<CustomControls:HotkeySettingsControl x:Uid="PowerLauncher_OpenPowerLauncher"
|
<CustomControls:HotkeySettingsControl x:Uid="PowerLauncher_OpenPowerLauncher"
|
||||||
Width="240"
|
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
|
MinWidth="240"
|
||||||
Margin="{StaticResource SmallTopMargin}"
|
Margin="{StaticResource SmallTopMargin}"
|
||||||
HotkeySettings="{x:Bind Path=ViewModel.OpenPowerLauncher, Mode=TwoWay}"
|
HotkeySettings="{x:Bind Path=ViewModel.OpenPowerLauncher, Mode=TwoWay}"
|
||||||
Keys="Win, Ctrl, Alt, Shift"
|
Keys="Win, Ctrl, Alt, Shift"
|
||||||
Enabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"/>
|
Enabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"/>
|
||||||
<!--<Custom:HotkeySettingsControl x:Uid="PowerLauncher_OpenFileLocation"
|
<!--<Custom:HotkeySettingsControl x:Uid="PowerLauncher_OpenFileLocation"
|
||||||
Width="320"
|
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
Margin="{StaticResource SmallTopMargin}"
|
Margin="{StaticResource SmallTopMargin}"
|
||||||
HotkeySettings="{Binding Path=ViewModel.OpenFileLocation, Mode=TwoWay}"
|
HotkeySettings="{Binding Path=ViewModel.OpenFileLocation, Mode=TwoWay}"
|
||||||
IsEnabled="False"
|
IsEnabled="False"
|
||||||
/>
|
/>
|
||||||
<Custom:HotkeySettingsControl x:Uid="PowerLauncher_CopyPathLocation"
|
<Custom:HotkeySettingsControl x:Uid="PowerLauncher_CopyPathLocation"
|
||||||
Width="320"
|
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
Margin="{StaticResource SmallTopMargin}"
|
Margin="{StaticResource SmallTopMargin}"
|
||||||
HotkeySettings="{Binding Path=ViewModel.CopyPathLocation, Mode=TwoWay}"
|
HotkeySettings="{Binding Path=ViewModel.CopyPathLocation, Mode=TwoWay}"
|
||||||
@@ -76,7 +74,6 @@
|
|||||||
IsEnabled="False"
|
IsEnabled="False"
|
||||||
/>
|
/>
|
||||||
<Custom:HotkeySettingsControl x:Uid="PowerLauncher_OpenConsole"
|
<Custom:HotkeySettingsControl x:Uid="PowerLauncher_OpenConsole"
|
||||||
Width="320"
|
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
Margin="{StaticResource SmallTopMargin}"
|
Margin="{StaticResource SmallTopMargin}"
|
||||||
HotkeySettings="{Binding Path=ViewModel.OpenConsole, Mode=TwoWay}"
|
HotkeySettings="{Binding Path=ViewModel.OpenConsole, Mode=TwoWay}"
|
||||||
@@ -128,7 +125,7 @@
|
|||||||
|
|
||||||
<muxc:NumberBox x:Uid="PowerLauncher_MaximumNumberOfResults"
|
<muxc:NumberBox x:Uid="PowerLauncher_MaximumNumberOfResults"
|
||||||
Value="{Binding Mode=TwoWay, Path=MaximumNumberOfResults}"
|
Value="{Binding Mode=TwoWay, Path=MaximumNumberOfResults}"
|
||||||
Width="240"
|
MinWidth="240"
|
||||||
SpinButtonPlacementMode="Compact"
|
SpinButtonPlacementMode="Compact"
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
Minimum="1"
|
Minimum="1"
|
||||||
|
|||||||
@@ -51,12 +51,14 @@
|
|||||||
<TextBlock x:Uid="FileExplorerPreview_RunAsAdminRequired"
|
<TextBlock x:Uid="FileExplorerPreview_RunAsAdminRequired"
|
||||||
Foreground="{ThemeResource SystemControlErrorTextForegroundBrush}"
|
Foreground="{ThemeResource SystemControlErrorTextForegroundBrush}"
|
||||||
Visibility="{Binding Mode=OneWay, Path=IsElevated, Converter={StaticResource BoolToVisibilityConverter}}"
|
Visibility="{Binding Mode=OneWay, Path=IsElevated, Converter={StaticResource BoolToVisibilityConverter}}"
|
||||||
Margin="{StaticResource SmallBottomMargin}"/>
|
Margin="{StaticResource SmallBottomMargin}"
|
||||||
|
TextWrapping="Wrap"/>
|
||||||
|
|
||||||
<TextBlock x:Uid="FileExplorerPreview_AffectsAllUsers"
|
<TextBlock x:Uid="FileExplorerPreview_AffectsAllUsers"
|
||||||
Foreground="{x:Bind Mode=OneWay, Path=ViewModel.IsElevated, Converter={StaticResource ModuleEnabledToForegroundConverter}}"
|
Foreground="{x:Bind Mode=OneWay, Path=ViewModel.IsElevated, Converter={StaticResource ModuleEnabledToForegroundConverter}}"
|
||||||
Margin="{StaticResource SmallBottomMargin}"
|
Margin="{StaticResource SmallBottomMargin}"
|
||||||
FontWeight="SemiBold"/>
|
FontWeight="SemiBold"
|
||||||
|
TextWrapping="Wrap"/>
|
||||||
|
|
||||||
<TextBlock x:Uid="FileExplorerPreview_PreviewPane_GroupSettings"
|
<TextBlock x:Uid="FileExplorerPreview_PreviewPane_GroupSettings"
|
||||||
Style="{StaticResource SettingsGroupTitleStyleAsHeader}"
|
Style="{StaticResource SettingsGroupTitleStyleAsHeader}"
|
||||||
@@ -79,7 +81,8 @@
|
|||||||
<TextBlock x:Uid="FileExplorerPreview_RebootRequired"
|
<TextBlock x:Uid="FileExplorerPreview_RebootRequired"
|
||||||
Foreground="{x:Bind Mode=OneWay, Path=ViewModel.IsElevated, Converter={StaticResource ModuleEnabledToForegroundConverter}}"
|
Foreground="{x:Bind Mode=OneWay, Path=ViewModel.IsElevated, Converter={StaticResource ModuleEnabledToForegroundConverter}}"
|
||||||
Margin="{StaticResource SmallTopBottomMargin}"
|
Margin="{StaticResource SmallTopBottomMargin}"
|
||||||
FontWeight="SemiBold"/>
|
FontWeight="SemiBold"
|
||||||
|
TextWrapping="Wrap"/>
|
||||||
|
|
||||||
<ToggleSwitch x:Uid="FileExplorerPreview_ToggleSwitch_SVG_Thumbnail"
|
<ToggleSwitch x:Uid="FileExplorerPreview_ToggleSwitch_SVG_Thumbnail"
|
||||||
Margin="{StaticResource SmallTopMargin}"
|
Margin="{StaticResource SmallTopMargin}"
|
||||||
|
|||||||
@@ -61,7 +61,7 @@
|
|||||||
SpinButtonPlacementMode="Compact"
|
SpinButtonPlacementMode="Compact"
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
Margin="{StaticResource SmallTopMargin}"
|
Margin="{StaticResource SmallTopMargin}"
|
||||||
Width="240"
|
MinWidth="240"
|
||||||
Value="{x:Bind Mode=TwoWay, Path=ViewModel.PressTime}"
|
Value="{x:Bind Mode=TwoWay, Path=ViewModel.PressTime}"
|
||||||
IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"
|
IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"
|
||||||
SmallChange="50"
|
SmallChange="50"
|
||||||
|
|||||||
Reference in New Issue
Block a user