Layout issue with TabControl w/ TabStripPlacement Left, TabControlHelper.IsUnderlined="True" #2815

Closed
aplocher opened this Issue Jan 25, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@aplocher

aplocher commented Jan 25, 2017

What steps will reproduce this issue?

2017-01-25_02h29_25


<controls:MetroTabControl TabStripPlacement="Left" DockPanel.Dock="Top" x:Name="tabControl1" controls:TabControlHelper.IsUnderlined="True">
<TabItem>
    <TabItem.HeaderTemplate>
        <DataTemplate>
            <TextBlock Background="#eeeeee">Some longer text</TextBlock>
        </DataTemplate>
    </TabItem.HeaderTemplate>
</TabItem>
<TabItem Header="Short"></TabItem>
<TabItem Header="Short 2"></TabItem>
<TabItem Header="Mister Longie McLongerson VII">
    <StackPanel>
        <TextBlock>Hi</TextBlock>
    </StackPanel>
</TabItem>
</controls:MetroTabControl>

Expected outcome

I believe the "underlines" (or in this case, side-lines) should line up when you have a TabControl with IsUnderlined = True and the TabStripPlacement=Left. I actually really like the idea of the lines being off to the side like this, but they don't look right when they're not aligned.

--

Environment

  • MahApps.Metro __(not sure off top of my head, but latest in nuget as of today)
  • Windows 10
  • Visual Studio 2017 RC1
  • .NET Framework 4.5.2

@punker76 punker76 self-assigned this Jan 25, 2017

@punker76 punker76 added this to the 1.4.2 milestone Jan 28, 2017

@punker76 punker76 closed this in 2574c17 Jan 28, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment