mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-12-18 04:00:34 +08:00
add Segoe MDL2 font as assets: this font allows editable embedding
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="Styles/ScrollBarStyleDictionary.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
<FontFamily x:Key="SegoeMDL2">./Fonts/#Segoe MDL2 Assets</FontFamily>
|
||||
</ResourceDictionary>
|
||||
</Application.Resources>
|
||||
</Application>
|
||||
@@ -10,7 +10,7 @@
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="{x:Type Control}">
|
||||
<busyDecorator:SpinIcon FontFamily="Segoe MDL2 Assets" FontSize="40" Spin="True"></busyDecorator:SpinIcon>
|
||||
<busyDecorator:SpinIcon FontFamily="{StaticResource SegoeMDL2}" FontSize="40" Spin="True"></busyDecorator:SpinIcon>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
|
||||
BIN
QuickLook/Fonts/segmdl2.ttf
Normal file
BIN
QuickLook/Fonts/segmdl2.ttf
Normal file
Binary file not shown.
@@ -225,6 +225,9 @@
|
||||
<Resource Include="Controls\GlassLayer\GaussianBlur.ps">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Resource>
|
||||
<Content Include="Fonts\segmdl2.ttf">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<None Include="key.snk" />
|
||||
<None Include="packages.config" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
<Setter Property="Width" Value="40" />
|
||||
<Setter Property="Height" Value="32" />
|
||||
<Setter Property="FontSize" Value="13" />
|
||||
<Setter Property="FontFamily" Value="Segoe MDL2 Assets" />
|
||||
<Setter Property="FontFamily" Value="{StaticResource SegoeMDL2}" />
|
||||
<Setter Property="Foreground" Value="{DynamicResource CaptionButtonIconForeground}" />
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
|
||||
Reference in New Issue
Block a user