Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 8fe153f

Browse files
committed
Set the fontFamily so the xaml designer is happy
For some reason the ContentPresenter throws in the xaml designer if the font family isn't set.
1 parent 484efb8 commit 8fe153f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/GitHub.UI.Reactive/Assets/Controls/ErrorMessageDisplay.xaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
Fill="{TemplateBinding IconFill}" />
3030
</Viewbox>
3131
<ContentPresenter
32+
TextElement.FontFamily="{TemplateBinding FontFamily}"
3233
Grid.Column="1"
3334
HorizontalAlignment="Left"
3435
VerticalAlignment="Center"

0 commit comments

Comments
 (0)