Skip to content

Commit af1f05c

Browse files
committed
Fix issue (#138
1 parent 608e574 commit af1f05c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: src/WPFDevelopers.Shared/Styles/Styles.ListBox.xaml

+3
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@
5555
<Setter Property="Background" Value="Transparent" />
5656
<Setter Property="Foreground" Value="{DynamicResource WD.PrimaryTextBrush}" />
5757
<Setter Property="BorderBrush" Value="{DynamicResource WD.BaseBrush}" />
58+
<Setter Property="FontSize" Value="{Binding RelativeSource={RelativeSource AncestorType=ListBox}, Path=FontSize}" />
59+
<Setter Property="FontWeight" Value="{Binding RelativeSource={RelativeSource AncestorType=ListBox}, Path=FontWeight}" />
60+
<Setter Property="FontFamily" Value="{Binding RelativeSource={RelativeSource AncestorType=ListBox}, Path=FontFamily}" />
5861
<Setter Property="Padding" Value="{Binding Padding, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type ItemsControl}}}" />
5962
<Setter Property="Template">
6063
<Setter.Value>

0 commit comments

Comments
 (0)