Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
aplocher opened this issue Jan 25, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@aplocher
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants