style<*>: icons for windows

This commit is contained in:
leo 2021-04-06 15:48:31 +08:00
parent b639920a40
commit c233ffabdd
6 changed files with 9 additions and 13 deletions

View file

@ -49,9 +49,8 @@
<!-- Logo & TITLE --> <!-- Logo & TITLE -->
<StackPanel Grid.Column="0" Orientation="Horizontal"> <StackPanel Grid.Column="0" Orientation="Horizontal">
<Path <Path
Width="20" Height="20" Margin="6,-1,2,0" Margin="6,0,0,0"
Data="{StaticResource Icon.Git}" Data="{StaticResource Icon.Commit}"
Fill="{StaticResource Brush.Logo}"
WindowChrome.IsHitTestVisibleInChrome="True" WindowChrome.IsHitTestVisibleInChrome="True"
MouseLeftButtonDown="LogoMouseButtonDown"/> MouseLeftButtonDown="LogoMouseButtonDown"/>
<Label Content="{StaticResource Text.Blame.Title}" FontWeight="Light"/> <Label Content="{StaticResource Text.Blame.Title}" FontWeight="Light"/>

View file

@ -49,9 +49,8 @@
<!-- LOGO & TITLE --> <!-- LOGO & TITLE -->
<StackPanel Grid.Column="0" Orientation="Horizontal"> <StackPanel Grid.Column="0" Orientation="Horizontal">
<Path <Path
Width="20" Height="20" Margin="6,-1,2,0" Margin="6,0,0,0"
Data="{StaticResource Icon.Git}" Data="{StaticResource Icon.Histories}"
Fill="{StaticResource Brush.Logo}"
WindowChrome.IsHitTestVisibleInChrome="True" WindowChrome.IsHitTestVisibleInChrome="True"
MouseLeftButtonDown="LogoMouseButtonDown"/> MouseLeftButtonDown="LogoMouseButtonDown"/>
<Label Content="{StaticResource Text.FileHistory}" FontWeight="Light"/> <Label Content="{StaticResource Text.FileHistory}" FontWeight="Light"/>

View file

@ -33,7 +33,7 @@
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<!-- LOGO --> <!-- LOGO -->
<Path Margin="6,-1,2,0" Data="{StaticResource Icon.Folder.Open}"/> <Path Margin="6,0,0,0" Data="{StaticResource Icon.Folder.Open}"/>
<!-- Title --> <!-- Title -->
<Label Grid.Column="1" x:Name="txtTitle" FontWeight="Light"/> <Label Grid.Column="1" x:Name="txtTitle" FontWeight="Light"/>

View file

@ -52,10 +52,8 @@
<!-- Logo & TITLE --> <!-- Logo & TITLE -->
<StackPanel Grid.Column="0" Orientation="Horizontal"> <StackPanel Grid.Column="0" Orientation="Horizontal">
<Path <Path
Width="20" Height="20" Margin="6,-1,2,0" Margin="6,0,0,0"
Data="{StaticResource Icon.Branch}"
Data="{StaticResource Icon.Git}"
Fill="{StaticResource Brush.Logo}"
WindowChrome.IsHitTestVisibleInChrome="True" WindowChrome.IsHitTestVisibleInChrome="True"
MouseLeftButtonDown="LogoMouseButtonDown"/> MouseLeftButtonDown="LogoMouseButtonDown"/>
<Label Content="{StaticResource Text.InteractiveRebase}" FontWeight="Light"/> <Label Content="{StaticResource Text.InteractiveRebase}" FontWeight="Light"/>

View file

@ -35,7 +35,7 @@
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<!-- LOGO --> <!-- LOGO -->
<Path Width="20" Height="20" Margin="6,-1,2,0" Data="{StaticResource Icon.Git}" Fill="{StaticResource Brush.Logo}"/> <Path Margin="6,0,0,0" Data="{StaticResource Icon.Preference}"/>
<!-- Title --> <!-- Title -->
<Label Grid.Column="1" Content="{StaticResource Text.Preference}" FontWeight="Light"/> <Label Grid.Column="1" Content="{StaticResource Text.Preference}" FontWeight="Light"/>

View file

@ -31,7 +31,7 @@
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<!-- LOGO --> <!-- LOGO -->
<Path Width="20" Height="20" Margin="6,-1,2,0" Data="{StaticResource Icon.Fetch}" Fill="{StaticResource Brush.FG1}"/> <Path Margin="6,0,0,0" Data="{StaticResource Icon.Fetch}"/>
<!-- Title --> <!-- Title -->
<Label Grid.Column="1" Content="{StaticResource Text.UpdateAvailable}" FontWeight="Light"/> <Label Grid.Column="1" Content="{StaticResource Text.UpdateAvailable}" FontWeight="Light"/>