DeeWBee
DeeWBee

Reputation: 695

Different sized TabPage items within the same TabControl

I have a TabControl with multiple TabPage items.

Is it possible to make one TabPage a different size from the rest, while keeping all the tabs within the same control? I'm trying to resize the actual pages themselves, not the tab icons.

Upvotes: 1

Views: 1156

Answers (1)

Austinh100
Austinh100

Reputation: 598

If you want to make one tab larger you can add a bunch of spaces in the tab's Text property until you get to the desired size.

If you want to resize the TabControl for each tab I would add code to the SelectedIndexChanged event to resize the TabControl based on what tab is selected. Though, I don't know if I recommend this from a UX perspective.

Upvotes: 2

Related Questions