mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-12 02:09:24 +08:00
[Settings]Peek settings UX consistency (#26012)
This commit is contained in:
parent
d50f092403
commit
5aa58bf922
@ -2428,6 +2428,9 @@ From there, simply click on one of the supported files in the File Explorer and
|
|||||||
<data name="AlwaysOnTop_Activation_GroupSettings.Header" xml:space="preserve">
|
<data name="AlwaysOnTop_Activation_GroupSettings.Header" xml:space="preserve">
|
||||||
<value>Activation</value>
|
<value>Activation</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="Peek_Activation_GroupSettings.Header" xml:space="preserve">
|
||||||
|
<value>Activation</value>
|
||||||
|
</data>
|
||||||
<data name="AlwaysOnTop_EnableToggleControl_HeaderText.Header" xml:space="preserve">
|
<data name="AlwaysOnTop_EnableToggleControl_HeaderText.Header" xml:space="preserve">
|
||||||
<value>Enable Always On Top</value>
|
<value>Enable Always On Top</value>
|
||||||
<comment>"Always On Top" is the name of the utility</comment>
|
<comment>"Always On Top" is the name of the utility</comment>
|
||||||
|
@ -14,7 +14,8 @@
|
|||||||
<controls:SettingsPageControl x:Uid="Peek" ModuleImageSource="ms-appx:///Assets/Modules/Peek.png">
|
<controls:SettingsPageControl x:Uid="Peek" ModuleImageSource="ms-appx:///Assets/Modules/Peek.png">
|
||||||
<controls:SettingsPageControl.ModuleContent>
|
<controls:SettingsPageControl.ModuleContent>
|
||||||
<StackPanel Orientation="Vertical">
|
<StackPanel Orientation="Vertical">
|
||||||
<labs:SettingsCard x:Uid="Peek_EnablePeek"
|
<labs:SettingsCard
|
||||||
|
x:Uid="Peek_EnablePeek"
|
||||||
HeaderIcon="{ui:BitmapIcon Source=/Assets/FluentIcons/FluentIconsPeek.png}"
|
HeaderIcon="{ui:BitmapIcon Source=/Assets/FluentIcons/FluentIconsPeek.png}"
|
||||||
IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}">
|
IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}">
|
||||||
<ToggleSwitch IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
<ToggleSwitch IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
||||||
@ -26,11 +27,11 @@
|
|||||||
IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}"
|
IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}"
|
||||||
Severity="Informational" />
|
Severity="Informational" />
|
||||||
|
|
||||||
<labs:SettingsCard x:Uid="Shortcut"
|
<controls:SettingsGroup x:Uid="Peek_Activation_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}">
|
||||||
IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"
|
<labs:SettingsCard x:Uid="Activation_Shortcut" HeaderIcon="{ui:FontIcon FontFamily={StaticResource SymbolThemeFontFamily}, Glyph=}">
|
||||||
HeaderIcon="{ui:FontIcon FontFamily={StaticResource SymbolThemeFontFamily}, Glyph=}">
|
|
||||||
<controls:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.ActivationShortcut, Mode=TwoWay}" />
|
<controls:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.ActivationShortcut, Mode=TwoWay}" />
|
||||||
</labs:SettingsCard>
|
</labs:SettingsCard>
|
||||||
|
</controls:SettingsGroup>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</controls:SettingsPageControl.ModuleContent>
|
</controls:SettingsPageControl.ModuleContent>
|
||||||
</controls:SettingsPageControl>
|
</controls:SettingsPageControl>
|
||||||
|
Loading…
Reference in New Issue
Block a user