tweaking text and adding in headers (#6586)

This commit is contained in:
Clint Rutkas
2020-09-11 17:10:51 -07:00
committed by GitHub
parent 997a7bc60f
commit 5af88de27b
3 changed files with 25 additions and 8 deletions

View File

@@ -146,7 +146,7 @@
<comment>Navigation view item name for Shortcut Guide</comment>
</data>
<data name="Shell_PowerPreview.Content" xml:space="preserve">
<value>File Explorer Preview</value>
<value>File Explorer</value>
<comment>Navigation view item name for File Explorer Preview</comment>
</data>
<data name="Shell_FancyZones.Content" xml:space="preserve">
@@ -640,10 +640,10 @@
<value>About FancyZones</value>
</data>
<data name="About_FileExplorerPreview.Text" xml:space="preserve">
<value>About File Explorer Preview</value>
<value>About File Explorer</value>
</data>
<data name="FileExplorerPreview_Image.AutomationProperties.Name" xml:space="preserve">
<value>File Explorer Preview</value>
<value>File Explorer</value>
</data>
<data name="About_ImageResizer.Text" xml:space="preserve">
<value>About Image Resizer</value>
@@ -753,4 +753,10 @@
<data name="GeneralSettings_VersionIsLatest" xml:space="preserve">
<value>You have the latest available version.</value>
</data>
<data name="FileExplorerPreview_IconThumbnail_GroupSettings.Text" xml:space="preserve">
<value>Icon Preview</value>
</data>
<data name="FileExplorerPreview_PreviewPane_GroupSettings.Text" xml:space="preserve">
<value>Preview Pane</value>
</data>
</root>

View File

@@ -23,4 +23,8 @@
<Setter Property="Margin" Value="0,34,0,4" />
<Setter Property="FontWeight" Value="SemiBold"/>
</Style>
<Style x:Key="SettingsGroupTitleStyleAsHeader" TargetType="TextBlock" BasedOn="{StaticResource SettingsGroupTitleStyle}">
<Setter Property="Margin" Value="0,0,0,4" />
</Style>
</ResourceDictionary>

View File

@@ -43,18 +43,25 @@
<StackPanel Orientation="Vertical"
x:Name="PowerPreviewView">
<TextBlock x:Uid="FileExplorerPreview_PreviewPane_GroupSettings"
Style="{StaticResource SettingsGroupTitleStyleAsHeader}"
Foreground="{x:Bind Mode=OneWay, Path=IsEnabled, Converter={StaticResource ModuleEnabledToForegroundConverter}}"/>
<ToggleSwitch x:Uid="FileExplorerPreview_ToggleSwitch_Preview_SVG"
IsOn="{Binding Mode=TwoWay, Path=SVGRenderIsEnabled}" />
<ToggleSwitch x:Uid="FileExplorerPreview_ToggleSwitch_SVG_Thumbnail"
Margin="{StaticResource SmallTopMargin}"
IsOn="{Binding Mode=TwoWay, Path=SVGThumbnailIsEnabled}" />
IsOn="{Binding Mode=TwoWay, Path=SVGRenderIsEnabled}" />
<ToggleSwitch x:Uid="FileExplorerPreview_ToggleSwitch_Preview_MD"
Margin="{StaticResource SmallTopMargin}"
IsOn="{Binding Mode=TwoWay, Path=MDRenderIsEnabled}" />
<TextBlock x:Uid="FileExplorerPreview_IconThumbnail_GroupSettings"
Style="{StaticResource SettingsGroupTitleStyle}"
Foreground="{x:Bind Mode=OneWay, Path=IsEnabled, Converter={StaticResource ModuleEnabledToForegroundConverter}}"/>
<ToggleSwitch x:Uid="FileExplorerPreview_ToggleSwitch_SVG_Thumbnail"
Margin="{StaticResource SmallTopMargin}"
IsOn="{Binding Mode=TwoWay, Path=SVGThumbnailIsEnabled}" />
</StackPanel>
<RelativePanel x:Name="SidePanel"
HorizontalAlignment="Left"