fix<Histories>:修复在 Light 主题中,选中行的各单元格文字颜色不一致的问题

This commit is contained in:
ZCShou 2021-04-08 09:53:42 +08:00
parent 81ebf0cdf1
commit 1c24699f70

View file

@ -63,13 +63,11 @@
<Style x:Key="Style.DataGridText" TargetType="{x:Type TextBlock}"> <Style x:Key="Style.DataGridText" TargetType="{x:Type TextBlock}">
<Setter Property="FontFamily" Value="Consolas"/> <Setter Property="FontFamily" Value="Consolas"/>
<Setter Property="Foreground" Value="{StaticResource Brush.FG1}"/>
<Setter Property="VerticalAlignment" Value="Center"/> <Setter Property="VerticalAlignment" Value="Center"/>
<Setter Property="Padding" Value="16,0"/> <Setter Property="Padding" Value="16,0"/>
</Style> </Style>
<Style x:Key="Style.DataGridText.NoPadding" TargetType="{x:Type TextBlock}"> <Style x:Key="Style.DataGridText.NoPadding" TargetType="{x:Type TextBlock}">
<Setter Property="FontFamily" Value="Consolas"/> <Setter Property="FontFamily" Value="Consolas"/>
<Setter Property="Foreground" Value="{StaticResource Brush.FG1}"/>
<Setter Property="VerticalAlignment" Value="Center"/> <Setter Property="VerticalAlignment" Value="Center"/>
</Style> </Style>
</DataGrid.Resources> </DataGrid.Resources>