style<*>: header label styles

This commit is contained in:
leo 2021-08-05 16:01:37 +08:00
parent 2cf7192ec4
commit eeeeafbf0a
3 changed files with 10 additions and 6 deletions

View file

@ -123,7 +123,7 @@
<ListViewItem IsSelected="True"> <ListViewItem IsSelected="True">
<StackPanel Margin="16,0,0,0" Height="28" Orientation="Horizontal"> <StackPanel Margin="16,0,0,0" Height="28" Orientation="Horizontal">
<Path Width="16" Height="16" Data="{StaticResource Icon.Histories}"/> <Path Width="16" Height="16" Data="{StaticResource Icon.Histories}"/>
<TextBlock Margin="8,0,0,0" Text="{DynamicResource Text.Histories}"/> <TextBlock Margin="8,0,0,0" FontWeight="Bold" Text="{DynamicResource Text.Histories}"/>
</StackPanel> </StackPanel>
</ListViewItem> </ListViewItem>
<ListViewItem> <ListViewItem>
@ -134,7 +134,7 @@
<ColumnDefinition Width="Auto"/> <ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<Path Grid.Column="0" Width="16" Height="16" Data="{StaticResource Icon.Send}"/> <Path Grid.Column="0" Width="16" Height="16" Data="{StaticResource Icon.Send}"/>
<TextBlock Grid.Column="1" Margin="8,0,0,0" Text="{DynamicResource Text.WorkingCopy}"/> <TextBlock Grid.Column="1" Margin="8,0,0,0" FontWeight="Bold" Text="{DynamicResource Text.WorkingCopy}"/>
<controls:Badge Grid.Column="2" Margin="4,0" x:Name="badgeLocalChanges"/> <controls:Badge Grid.Column="2" Margin="4,0" x:Name="badgeLocalChanges"/>
</Grid> </Grid>
</ListViewItem> </ListViewItem>
@ -146,7 +146,7 @@
<ColumnDefinition Width="Auto"/> <ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<Path Grid.Column="0" Width="16" Height="16" Data="{StaticResource Icon.Stashes}"/> <Path Grid.Column="0" Width="16" Height="16" Data="{StaticResource Icon.Stashes}"/>
<TextBlock Grid.Column="1" Margin="8,0,0,0" Text="{DynamicResource Text.Stashes}"/> <TextBlock Grid.Column="1" Margin="8,0,0,0" FontWeight="Bold" Text="{DynamicResource Text.Stashes}"/>
<controls:Badge Grid.Column="2" Margin="4,0" x:Name="badgeStashes"/> <controls:Badge Grid.Column="2" Margin="4,0" x:Name="badgeStashes"/>
</Grid> </Grid>
</ListViewItem> </ListViewItem>

View file

@ -37,6 +37,7 @@
Margin="4,0,0,0" Margin="4,0,0,0"
Text="{DynamicResource Text.Stashes.Stashes}" Text="{DynamicResource Text.Stashes.Stashes}"
Foreground="{DynamicResource Brush.FG2}" Foreground="{DynamicResource Brush.FG2}"
FontFamily="Microsoft YaHei UI"
FontWeight="Bold"/> FontWeight="Bold"/>
<controls:Loading <controls:Loading
@ -88,6 +89,7 @@
Margin="4,0,0,0" Margin="4,0,0,0"
Text="{DynamicResource Text.Stashes.Changes}" Text="{DynamicResource Text.Stashes.Changes}"
Foreground="{DynamicResource Brush.FG2}" Foreground="{DynamicResource Brush.FG2}"
FontFamily="Microsoft YaHei UI"
FontWeight="Bold"/> FontWeight="Bold"/>
</StackPanel> </StackPanel>
</Border> </Border>

View file

@ -53,6 +53,7 @@
Margin="6,0" Margin="6,0"
Text="{DynamicResource Text.WorkingCopy.Unstaged}" Text="{DynamicResource Text.WorkingCopy.Unstaged}"
Foreground="{DynamicResource Brush.FG2}" Foreground="{DynamicResource Brush.FG2}"
FontFamily="Microsoft YaHei UI"
FontWeight="Bold"/> FontWeight="Bold"/>
<controls:Loading <controls:Loading
Grid.Column="2" Grid.Column="2"
@ -107,6 +108,7 @@
Margin="6,0" Margin="6,0"
Text="{DynamicResource Text.WorkingCopy.Staged}" Text="{DynamicResource Text.WorkingCopy.Staged}"
Foreground="{DynamicResource Brush.FG2}" Foreground="{DynamicResource Brush.FG2}"
FontFamily="Microsoft YaHei UI"
FontWeight="Bold"/> FontWeight="Bold"/>
<controls:IconButton <controls:IconButton