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
245
Size the tab header
posted

Hi,

I'm trying to set the size of the tab header.  I see properties for color, layout style, but not size. I'm using the Office2007 theme so the tabs look really big and just want them to be smaller.

Thanks

Parents
No Data
Reply
  • 5389
    Suggested Answer
    posted

    Caveno,

    If you are trying to set the height of the tabs, you can set tabControl.TabSize object to a new Size object:

                Size s = new Size(this.ultraTabControl1.TabSize.Width, 15);
                this.ultraTabControl1.TabSize = s;

    If you want to set the width of a single tab, set its FixedWidth property:

                this.ultraTabControl1.Tabs[0].FixedWidth = 100;

    Hope this helps,

    ~Kim~

Children
No Data