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">
<StackPanel Margin="16,0,0,0" Height="28" Orientation="Horizontal">
<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>
</ListViewItem>
<ListViewItem>
@ -134,7 +134,7 @@
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<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"/>
</Grid>
</ListViewItem>
@ -146,7 +146,7 @@
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<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"/>
</Grid>
</ListViewItem>

View file

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

View file

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