Skip to content

Commit

Permalink
wpf: Fix default font size
Browse files Browse the repository at this point in the history
  • Loading branch information
mstefarov committed Jul 11, 2023
1 parent cf0ee21 commit bd3f310
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ private void OnElementPropertyChanged()
// Full list of supported tags and attributes here: https://doc.arcgis.com/en/arcgis-online/reference/supported-html.htm
if (!string.IsNullOrEmpty(Element?.Text) && GetTemplateChild(TextAreaName) is RichTextBox rtb)
{
var doc = new FlowDocument();
var doc = new FlowDocument { FontSize = 14d }; // match the default "content" font size on AGOL
try
{
var htmlRoot = HtmlUtility.BuildDocumentTree(Element.Text);
Expand Down

0 comments on commit bd3f310

Please sign in to comment.