Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi,

 

How can I change the width of the top label of a TabPage in a TabControl?

I tried changing the width value in the size param of the properties windows but nothing happens.

Where am I wrong?

 

Thanx

 

---

stefano :confused:

  • *Experts*
Posted

You have a few options:

1. You can set SizeMode to Fixed and set the ItemSize property to the width you want.

2. You can use the Padding property to make each tab have a little extra padding. This will not create fixed width tabs, but just pad the text on each one.

 

-Ner

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Posted

Thank you, Ner

 

I know it was a simple question but

I'm new to VB.NET and I think I'going to visit

this forum very often in the next weeks.

 

---

Stefano

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...