# Tab Sizing

Get started with Menus and Toolbars for WinForms. Create versatile menus and docking/floating toolbars. See more in documentation here.

## Content



You can customize the width and height of the tab pages by setting its [ItemSize](/componentone/docs/win/online-menus-toolbar/) to an appropriate value. This will make all the tab pages the same size no matter what the content is inside each tab. Its default settings for its size are based on the size of its text and image. In addition to customizing the height and width of each tab you can also set a mode for the tabs. The [TabSizeMode](/componentone/docs/win/online-menus-toolbar/) property contains four types of members: **FillToEnd**, **Fit**, **Normal**, and **User**. The **FillToEnd** stretches the tabs so they take the whole width of the tab control. The **Fit** squeezes all tabs so they fit into the width of the tab control. The **Normal** member gets the default sizing mode. The **User** member allows the user to specify the tab size in the MeasureTab event. The following table shows the effect of each [TabSizeMode](/componentone/docs/win/online-menus-toolbar/) member.


> type=note
> **Note**: The third image in the following table contains only two tab pages to better illustrate the effect of the FillToEnd member.

| Property Setting | Image |
| --- | --- |
| **Normal** | **![Normal Tab Size Mode](https://cdn.mescius.io/document-site-files/images/a27cb622-e6d9-4efc-a0b0-0c31245fd632/imagesext/image11_191.png)** |
| **Fit** | ![Fit Tab Size Mode](https://cdn.mescius.io/document-site-files/images/a27cb622-e6d9-4efc-a0b0-0c31245fd632/imagesext/image11_192.png) |
| **FillToEnd** | **![Fill to end Tab Size Mode](https://cdn.mescius.io/document-site-files/images/a27cb622-e6d9-4efc-a0b0-0c31245fd632/imagesext/image11_193.png)** |
| **User** | ![User Tab Size Mode](https://cdn.mescius.io/document-site-files/images/a27cb622-e6d9-4efc-a0b0-0c31245fd632/imagesext/image11_194.png) |

## See Also

[Tab Orientation](/componentone/docs/win/online-menus-toolbar/dockingtaboverview/dockingtabappearance/taborientation)