Change the Tab size of tabControl

Use it...

private void FrmSqlMain_Load(object sender, EventArgs e)
 {
     myTabControl.SizeMode = TabSizeMode.Normal;
     myTabControl.DrawMode = TabDrawMode.OwnerDrawFixed;
 }

Unfortunately, there isn't built-in property to control the width of the TabPages' tab header of the TabControl individually (Edit: apparently, there is TabControl.ItemSize to control it collectively. See TaW's answer to fix the width of all tab pages under a tab control).

But a little trick you could do is to give additional spaces in the left or in the right of the TabPage.Text to give you enough space for your icon.

Without space:

enter image description here

With 7 spaces:

enter image description here

It should be enough to put your icon


Try increasing "myTabControl.Padding.X". It works for me!


Actually you can set the size of the tabs, but not individually.

The combination of SizeMode = Fixed and some suitable value for the TabControl.Itemsize will create any size, but always the same..:

enter image description here

So for individually enlarging each tab to make the icon fit you indeed need to use Ian's 'spacey' method..