G
gablatte
Hello, I am having a little trouble with ToolStripButton. (using vc#
2005 beta2).
On each button there is an image and text. The image is aligned to the
left of the button. The appearnce of the button is like a windows
taskbar button.
I have taken the liberty of creating an image that illustrates my
problem:
http://www.piczs.com/is.php?i=4835&img=buttons.jpg
The buttons are of a fixed length (105 pixels). The problem is this:
When the button text is too wide to fit on the button, The text starts
to edge leftwards and overlap the image, this is a most undesirable
result.
The desired result is like windows taskbar button where the text is
simply clipped.
I have systematically gone through just about every setting that could
possibly be relevant. Before I embark on trying to custom draw the
button I thought I would post here and make sure I am not missing
anything obvious, thanks. Apologies if this is the incorrect news
group, I searched for a specifc visual csharp one and didn't find one.
(PS the 'TextImageRelation' is 'Image before text' not 'overlay'!
and i've tried every other relation type also).
2005 beta2).
On each button there is an image and text. The image is aligned to the
left of the button. The appearnce of the button is like a windows
taskbar button.
I have taken the liberty of creating an image that illustrates my
problem:
http://www.piczs.com/is.php?i=4835&img=buttons.jpg
The buttons are of a fixed length (105 pixels). The problem is this:
When the button text is too wide to fit on the button, The text starts
to edge leftwards and overlap the image, this is a most undesirable
result.
The desired result is like windows taskbar button where the text is
simply clipped.
I have systematically gone through just about every setting that could
possibly be relevant. Before I embark on trying to custom draw the
button I thought I would post here and make sure I am not missing
anything obvious, thanks. Apologies if this is the incorrect news
group, I searched for a specifc visual csharp one and didn't find one.
(PS the 'TextImageRelation' is 'Image before text' not 'overlay'!
and i've tried every other relation type also).