style<Window>: add window icon

This commit is contained in:
leo 2024-02-22 14:51:31 +08:00
parent cf09ab463c
commit 7f20437464
5 changed files with 5 additions and 0 deletions

View file

@ -7,6 +7,7 @@
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="SourceGit.Views.About"
x:DataType="v:About"
Icon="/App.ico"
Title="{DynamicResource Text.About}"
Background="{DynamicResource Brush.Window}"
SizeToContent="WidthAndHeight"

View file

@ -8,6 +8,7 @@
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="SourceGit.Views.AssumeUnchangedManager"
x:DataType="vm:AssumeUnchangedManager"
Icon="/App.ico"
Title="{DynamicResource Text.AssumeUnchanged}"
Background="{DynamicResource Brush.Window}"
Width="600" Height="400"

View file

@ -10,6 +10,7 @@
x:Class="SourceGit.Views.Blame"
x:Name="me"
x:DataType="vm:Blame"
Icon="/App.ico"
Title="{DynamicResource Text.Blame}"
WindowStartupLocation="CenterOwner"
BorderThickness="1"

View file

@ -10,6 +10,7 @@
x:Class="SourceGit.Views.FileHistories"
x:DataType="vm:FileHistories"
x:Name="me"
Icon="/App.ico"
Title="{DynamicResource Text.FileHistory}"
MinWidth="1280" MinHeight="720"
BorderThickness="1"

View file

@ -10,6 +10,7 @@
x:Class="SourceGit.Views.Preference"
x:DataType="vm:Preference"
x:Name="me"
Icon="/App.ico"
Title="{DynamicResource Text.Preference}"
Background="{DynamicResource Brush.Window}"
Width="600" SizeToContent="Height"