Move PowerPreview textblock to description

This commit is contained in:
niels9001 2021-11-26 17:04:04 +01:00
parent c7e8423a6b
commit b02375ff77
2 changed files with 7 additions and 6 deletions

View file

@ -993,8 +993,12 @@ Made with 💗 by Microsoft and the PowerToys community.</value>
<data name="FileExplorerPreview_IconThumbnail_GroupSettings.Header" xml:space="preserve">
<value>Icon Preview</value>
</data>
<data name="FileExplorerPreview_PreviewPane_GroupSettings.Header" xml:space="preserve">
<data name="FileExplorerPreview_PreviewPane.Header" xml:space="preserve">
<value>Preview Pane</value>
</data>
<data name="FileExplorerPreview_PreviewPane.Description" xml:space="preserve">
<value>Ensure that Preview Pane is open by toggling the view with Alt + P in File Explorer.</value>
<comment>Preview Pane and File Explorer are app/feature names in Windows. 'Alt + P' is a shortcut</comment>
</data>
<data name="FileExplorerPreview_RunAsAdminRequired.Title" xml:space="preserve">
<value>You need to run as administrator to modify these settings.</value>
@ -1002,9 +1006,7 @@ Made with 💗 by Microsoft and the PowerToys community.</value>
<data name="FileExplorerPreview_AffectsAllUsers.Title" xml:space="preserve">
<value>The settings on this page affect all users on the system</value>
</data>
<data name="FileExplorerPreview_TogglePreviewPane.Text" xml:space="preserve">
<value>Please ensure that Preview Pane is open by toggling the view with Alt + P in File Explorer</value>
</data>
<data name="FileExplorerPreview_RebootRequired.Title" xml:space="preserve">
<value>A reboot may be required for changes to these settings to take effect</value>
</data>

View file

@ -34,8 +34,7 @@
IsClosable="False"
/>
<controls:SettingsGroup x:Uid="FileExplorerPreview_PreviewPane_GroupSettings">
<TextBlock x:Uid="FileExplorerPreview_TogglePreviewPane" Margin="0,0,0,8" Foreground="{ThemeResource TextFillColorSecondaryBrush}" />
<controls:SettingsGroup x:Uid="FileExplorerPreview_PreviewPane">
<controls:Setting x:Uid="FileExplorerPreview_ToggleSwitch_Preview_SVG" Icon="&#xE91B;">
<controls:Setting.ActionContent>
<ToggleSwitch IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.SVGRenderIsEnabled}"