Skip to content

Commit

Permalink
MAUI: Fix a case where formatting was not applies to label text
Browse files Browse the repository at this point in the history
  • Loading branch information
mstefarov committed Oct 10, 2023
1 parent 2316822 commit f27fb16
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ private static View CreateBlock(MarkupNode node)
}
else
{
foreach (var child in node.Children) // We have to copy the style down to FormattedText's elements
child.InheritAttributes(node);
var label = CreateFormattedText(node.Children);
if (isPara)
label.Margin = ParagraphMargin;
Expand Down

0 comments on commit f27fb16

Please sign in to comment.