Browse Source

Added hyperlink icon

CPKreuz 3 years ago
parent
commit
0f53b6b467

+ 1 - 0
PixiEditor/App.xaml

@@ -28,6 +28,7 @@
                 <ResourceDictionary Source="Styles/AvalonDock/PixiEditorDockTheme.xaml" />
                 <ResourceDictionary Source="Styles/TreeViewStyle.xaml" />
                 <ResourceDictionary Source="Styles/RadioButtonStyle.xaml" />
+                <ResourceDictionary Source="Styles/Fonts.xaml" />
             </ResourceDictionary.MergedDictionaries>
         </ResourceDictionary>
     </Application.Resources>

BIN
PixiEditor/Fonts/feather.ttf


+ 2 - 0
PixiEditor/PixiEditor.csproj

@@ -286,6 +286,8 @@
 		<Resource Include="Images\Commands\PixiEditor\View\ZoomOut.png" />
 		<None Remove="Images\Commands\PixiEditor\Document\ClipCanvas.png" />
 		<Resource Include="Images\Commands\PixiEditor\Document\ClipCanvas.png" />
+		<None Remove="Fonts\feather.ttf" />
+		<Resource Include="Fonts\feather.ttf" />
 	</ItemGroup>
 	<ItemGroup>
 		<None Include="..\LICENSE">

+ 4 - 0
PixiEditor/Styles/Fonts.xaml

@@ -0,0 +1,4 @@
+<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
+    <FontFamily x:Key="Feather">pack://application:,,,/Fonts/#feather</FontFamily>
+</ResourceDictionary>

+ 2 - 1
PixiEditor/Views/Dialogs/SettingsWindow.xaml

@@ -136,7 +136,8 @@
                     IsChecked="{Binding SettingsSubViewModel.General.IsDebugModeEnabled}">Enable Debug Mode</CheckBox>
                 <Label Grid.Row="14" Grid.Column="1" Style="{StaticResource SettingsText}" VerticalAlignment="Center">
                     <Hyperlink Command="{cmds:Command PixiEditor.Debug.OpenCrashReportsDirectory}" Style="{StaticResource SettingsLink}">
-                        Open Crash Reports Directory
+                               <TextBlock Text="Open Crash Reports Directory"/>
+                               <TextBlock Text="" FontFamily="Feather"/>
                     </Hyperlink>
                 </Label>
             </Grid>