Tabpages and Imagelists - I want to align the image to the left so I can display some text...

P

Paul Tomlinson

Tabpages and Imagelists - I want to align the image to the left so I can
display some text...

All, I have a number of tabpages and on each tab page I currently have an
image and some text, now ATM the image is on-top of the text, I would like
to align the image to the left, is there an easy way that this can be done?


MA
 
M

Mick Doherty

What you want is what you should have.
Is this a standard Tabcontrol you're using? VS2003?
 
M

Mick Doherty

Sorry for not replying sooner.
It makes no difference if you add the tabpage and imageindex dynamically.

The default appearance for a Tab on a TabControl is to draw the image and
then draw the TabText. The Image and Text will be centered within the tab,
but the text will be to the right of the image.

[ I ] [ Text ]

There are no properties to change this style within a .net standard
tabcontrol.

I cannot reproduce the behaviour that you are experiencing.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top