mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-11-28 07:39:49 +08:00
[Settings] NumberBox headers fixes (#6227)
* Update from master * Updated Numberbox headers
This commit is contained in:
parent
fdd7d6afa4
commit
305a04ce69
@ -185,7 +185,7 @@
|
||||
<Version>6.1.1</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Microsoft.UI.Xaml">
|
||||
<Version>2.5.0-prerelease.200708003</Version>
|
||||
<Version>2.5.0-prerelease.200812001</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Microsoft.Xaml.Behaviors.Uwp.Managed">
|
||||
<Version>2.0.1</Version>
|
||||
|
@ -269,7 +269,7 @@
|
||||
<data name="PowerLauncher_SearchTypePreference_ExecutableName" xml:space="preserve">
|
||||
<value>Executable name</value>
|
||||
</data>
|
||||
<data name="PowerLauncher_MaximumNumberOfResults.Text" xml:space="preserve">
|
||||
<data name="PowerLauncher_MaximumNumberOfResults.Header" xml:space="preserve">
|
||||
<value>Maximum number of results</value>
|
||||
</data>
|
||||
<data name="PowerLauncher_Shortcuts.Text" xml:space="preserve">
|
||||
@ -367,7 +367,7 @@
|
||||
<value>Move newly created windows to their last known zone</value>
|
||||
</data>
|
||||
<data name="FancyZones_OpenWindowOnActiveMonitor.Content" xml:space="preserve">
|
||||
<value>Move newly created windows to the current active monitor [EXPERIMENTAL]</value>
|
||||
<value>Move newly created windows to the current active monitor (EXPERIMENTAL)</value>
|
||||
</data>
|
||||
<data name="FancyZones_UseCursorPosEditorStartupScreen.Content" xml:space="preserve">
|
||||
<value>Follow mouse cursor instead of focus when launching editor in a multi screen environment</value>
|
||||
@ -441,7 +441,7 @@
|
||||
<data name="PowerRename_Toggle_EnableOnExtendedContextMenu.Header" xml:space="preserve">
|
||||
<value>Appear only in extended context menu (Shift + Right-click)</value>
|
||||
</data>
|
||||
<data name="PowerRename_Toggle_MaxDispListNum.Text" xml:space="preserve">
|
||||
<data name="PowerRename_Toggle_MaxDispListNum.Header" xml:space="preserve">
|
||||
<value>Maximum number of items</value>
|
||||
</data>
|
||||
<data name="PowerRename_Toggle_RestoreFlagsOnLaunch.Content" xml:space="preserve">
|
||||
@ -477,7 +477,7 @@
|
||||
<data name="ShortcutGuide_Description.Text" xml:space="preserve">
|
||||
<value>Shows a help overlay with Windows shortcuts when the Windows key is pressed.</value>
|
||||
</data>
|
||||
<data name="ShortcutGuide_PressTime.Text" xml:space="preserve">
|
||||
<data name="ShortcutGuide_PressTime.Header" xml:space="preserve">
|
||||
<value>Press duration before showing (ms)</value>
|
||||
</data>
|
||||
<data name="ShortcutGuide_Appearance_Behavior.Text" xml:space="preserve">
|
||||
@ -537,7 +537,7 @@
|
||||
<data name="ImageResizer_SaveSizeButton.Label" xml:space="preserve">
|
||||
<value>Save sizes</value>
|
||||
</data>
|
||||
<data name="ImageResizer_Encoding.Text" xml:space="preserve">
|
||||
<data name="ImageResizer_Encoding.Header" xml:space="preserve">
|
||||
<value>JPEG quality level</value>
|
||||
</data>
|
||||
<data name="ImageResizer_PNGInterlacing.Header" xml:space="preserve">
|
||||
|
@ -32,7 +32,4 @@
|
||||
<!--Extra Extra Small size margins-->
|
||||
<Thickness x:Key="XXSmallTopMargin">0, 4, 0, 0</Thickness>
|
||||
<Thickness x:Key="XXSmallTopRightBottomMargin">0, 4, 4, 4</Thickness>
|
||||
|
||||
<!--Control Header Text Margin-->
|
||||
<Thickness x:Key="HeaderTextTopMargin">0, 4, 0, 0</Thickness>
|
||||
</ResourceDictionary>
|
@ -207,16 +207,12 @@
|
||||
<ComboBoxItem x:Uid="ImageResizer_FallbackEncoder_GIF" />
|
||||
</ComboBox>
|
||||
|
||||
<TextBlock Name="ImageResizer_Encoding"
|
||||
x:Uid="ImageResizer_Encoding"
|
||||
Margin="{StaticResource SmallTopMargin}"
|
||||
Foreground="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled, Converter={StaticResource ModuleEnabledToForegroundConverter}}"/>
|
||||
|
||||
<muxc:NumberBox Minimum="0"
|
||||
<muxc:NumberBox x:Uid="ImageResizer_Encoding"
|
||||
Minimum="0"
|
||||
Maximum="100"
|
||||
Value="{x:Bind Mode=TwoWay, Path=ViewModel.JPEGQualityLevel}"
|
||||
Width="240"
|
||||
Margin="{StaticResource HeaderTextTopMargin}"
|
||||
Margin="{StaticResource SmallTopMargin}"
|
||||
SpinButtonPlacementMode="Compact"
|
||||
HorizontalAlignment="Left"
|
||||
IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"
|
||||
|
@ -126,19 +126,14 @@
|
||||
IsEnabled="False"
|
||||
/>-->
|
||||
|
||||
<TextBlock x:Uid="PowerLauncher_MaximumNumberOfResults"
|
||||
x:Name="PowerLauncher_MaximumNumberOfResults"
|
||||
Margin="{StaticResource SmallTopMargin}"
|
||||
Foreground="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher, Converter={StaticResource ModuleEnabledToForegroundConverter}}"/>
|
||||
|
||||
<muxc:NumberBox Value="{Binding Mode=TwoWay, Path=MaximumNumberOfResults}"
|
||||
<muxc:NumberBox x:Uid="PowerLauncher_MaximumNumberOfResults"
|
||||
Value="{Binding Mode=TwoWay, Path=MaximumNumberOfResults}"
|
||||
Width="240"
|
||||
SpinButtonPlacementMode="Compact"
|
||||
HorizontalAlignment="Left"
|
||||
Minimum="1"
|
||||
Margin="{StaticResource HeaderTextTopMargin}"
|
||||
IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"
|
||||
AutomationProperties.LabeledBy="{Binding ElementName=PowerLauncher_MaximumNumberOfResults}"/>
|
||||
Margin="{StaticResource SmallTopMargin}"
|
||||
IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"/>
|
||||
|
||||
<CheckBox x:Uid="PowerLauncher_ClearInputOnLaunch"
|
||||
Margin="{StaticResource SmallTopMargin}"
|
||||
|
@ -75,20 +75,15 @@
|
||||
IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"
|
||||
/>
|
||||
|
||||
<TextBlock Name="PowerRename_Toggle_MaxDispListNum"
|
||||
x:Uid="PowerRename_Toggle_MaxDispListNum"
|
||||
Margin="{StaticResource SmallTopMargin}"
|
||||
Foreground="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled, Converter={StaticResource ModuleEnabledToForegroundConverter}}"/>
|
||||
|
||||
<muxc:NumberBox SpinButtonPlacementMode="Compact"
|
||||
<muxc:NumberBox x:Uid="PowerRename_Toggle_MaxDispListNum"
|
||||
SpinButtonPlacementMode="Compact"
|
||||
HorizontalAlignment="Left"
|
||||
Margin="{StaticResource HeaderTextTopMargin}"
|
||||
Margin="{StaticResource SmallTopMargin}"
|
||||
Value="{x:Bind Mode=TwoWay, Path=ViewModel.MaxDispListNum}"
|
||||
Minimum="0"
|
||||
Width="240"
|
||||
Maximum="20"
|
||||
IsEnabled="{ x:Bind Mode=OneWay, Path=ViewModel.GlobalAndMruEnabled}"
|
||||
AutomationProperties.LabeledBy="{Binding ElementName=PowerRename_Toggle_MaxDispListNum}"/>
|
||||
IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.GlobalAndMruEnabled}"/>
|
||||
|
||||
<CheckBox x:Uid="PowerRename_Toggle_RestoreFlagsOnLaunch"
|
||||
Margin="0, 17, 0, 0"
|
||||
|
@ -56,21 +56,16 @@
|
||||
Style="{StaticResource SettingsGroupTitleStyle}"
|
||||
Foreground="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled, Converter={StaticResource ModuleEnabledToForegroundConverter}}"/>
|
||||
|
||||
<TextBlock Name="ShortcutGuide_PressTime"
|
||||
x:Uid="ShortcutGuide_PressTime"
|
||||
Margin="{StaticResource SmallTopMargin}"
|
||||
Foreground="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled, Converter={StaticResource ModuleEnabledToForegroundConverter}}"/>
|
||||
|
||||
<muxc:NumberBox Minimum="100"
|
||||
<muxc:NumberBox x:Uid="ShortcutGuide_PressTime"
|
||||
Minimum="100"
|
||||
SpinButtonPlacementMode="Compact"
|
||||
HorizontalAlignment="Left"
|
||||
Margin="{StaticResource HeaderTextTopMargin}"
|
||||
Margin="{StaticResource SmallTopMargin}"
|
||||
Width="240"
|
||||
Value="{x:Bind Mode=TwoWay, Path=ViewModel.PressTime}"
|
||||
IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"
|
||||
SmallChange="50"
|
||||
LargeChange="100"
|
||||
AutomationProperties.LabeledBy="{Binding ElementName=ShortcutGuide_PressTime}"/>
|
||||
LargeChange="100"/>
|
||||
|
||||
<StackPanel Orientation="Horizontal" Margin="{StaticResource MediumTopMargin}" Spacing="12">
|
||||
<Slider x:Uid="ShortcutGuide_OverlayOpacity"
|
||||
@ -100,7 +95,7 @@
|
||||
Foreground="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled, Converter={StaticResource ModuleEnabledToForegroundConverter}}"/>
|
||||
<muxc:RadioButtons IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"
|
||||
SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.ThemeIndex}"
|
||||
Margin="{StaticResource HeaderTextTopMargin}"
|
||||
Margin="{StaticResource XXSmallTopMargin}"
|
||||
AutomationProperties.LabeledBy="{Binding ElementName=ShortcutGuide_Theme}">
|
||||
<RadioButton x:Uid="GeneralPage_Radio_Theme_Dark" />
|
||||
<RadioButton x:Uid="GeneralPage_Radio_Theme_Light" />
|
||||
|
Loading…
Reference in New Issue
Block a user