Skip to content

MetroAnimatedTabControl first tab font not changing #2755

@ToMer-K

Description

@ToMer-K

What steps will reproduce this issue?

When using MetroAnimatedTabControl and specifying a font in the FontFamily property the first tab has the default font instead of the new font. In the designer window all the tabs have the new font, the problem is at execution time. For example:

<controls:MetroAnimatedTabControl x:Name="tabControl" Grid.Column="1" HorizontalAlignment="Left" Height="100" Grid.RowSpan="2" VerticalAlignment="Top" FontFamily="Bauhaus 93" controls:TabControlHelper.IsUnderlined="True">
                <controls:MetroTabItem Header="TabItem2">
                    <Grid Background="#FFE5E5E5"/>
                </controls:MetroTabItem>
                <controls:MetroTabItem Header="TabItem2">
                    <Grid Background="#FFE5E5E5"/>
                </controls:MetroTabItem>
                <controls:MetroTabItem Header="TabItem2">
                    <Grid Background="#FFE5E5E5"/>
                </controls:MetroTabItem>                
</controls:MetroAnimatedTabControl>

Expected outcome

image

Environment

  • MahApps.Metro v1.3.0
  • Windows 8.1 64bit
  • Visual Studio 2015
  • .NET Framework Metro window #4.5.2

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions