MaterialDesignInXamlToolkit icon indicating copy to clipboard operation
MaterialDesignInXamlToolkit copied to clipboard

Badged Control FontSize

Open hxhgxy opened this issue 2 years ago • 1 comments

Bug explanation

Badged The Font relatived property of Badged control is inherited from TextBlock. If I make a default style for TextBlock with FontSize, Foreground, etc, the looking of Badged controls is fixed (It is not effected if the content is packicon). It is unreasonable.

Is there way to fix it? Thanks.

Version

latest

hxhgxy avatar Dec 01 '23 00:12 hxhgxy

Tested this in version 5.1 inserting a default style into the UserControl.Resources

      <Style TargetType="TextBlock">
        <Setter Property="FontFamily" Value="Comic Sans MS" />
        <Setter Property="FontSize" Value="20" />
      </Style>

with a result that shows the bug has been fixed at some prior point. image

It may be desirable to change this issues into an enhancement that allows the badge style to be overridden.

JLdgu avatar Jul 15 '24 10:07 JLdgu