Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
525
Spacing between tabs
posted

When using the Office Black theme the tabs in the xmlTabControl have a gap inbetween them.  How can i resize/remove this gap?

I've dug down with Snoop but I can't figure out where the width between the tabs is set.

Thanks,

Jamie

Parents
  • 69686
    posted

    Hello Jamie,

    I believe this is because when the theme is Office2kBlack, the XamTabControls uses Padding and the TabItemEx elements have margin set. You can create styles for them and set these properties:

    <Style TargetType="{x:Type igWindows:XamTabControl}">

                        <Setter Property="Padding" Value="0"/>

                    </Style>

                    <Style TargetType="{x:Type igWindows:TabItemEx}">

                        <Setter Property="Margin" Value="0"/>

                    </Style>

Reply Children