473,387 Members | 1,520 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

ToolStripItem text problem

31
Hi!

I have a ToolStrip with ToolStripButtons as items. Each button has an image and text placed after image. When I set AutoSize to false and resize, text is fixed and the image gets trimmed. How can I set it to word-wrap or to trim text instead of image?

M.
Jan 10 '08 #1
2 2359
Plater
7,872 Expert 4TB
Does changing the position of text vs image help?
Like if you tell the image to draw top-left and text middle-center, it might wrap correctly?

You could also try putting in a manual line break in your button text.
Jan 10 '08 #2
Mecena
31
Does changing the position of text vs image help?
Like if you tell the image to draw top-left and text middle-center, it might wrap correctly?

You could also try putting in a manual line break in your button text.

thanx for the reply! i've tried the first suggestion, i'm affraid that's not it. Manual breaks work fine, i can do the resize in code and manually break text if needed (actually that's my current solution), but i'd like it to behave like regular buttons, that is when you resize it, the text should trim (not wrap) and image should stay fixed. ToolStripButton does just the opposite:)
Jan 11 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

19
by: Svennglenn | last post by:
I'm working on a program that is supposed to save different information to text files. Because the program is in swedish i have to use unicode text for ÅÄÖ letters. When I run the following...
0
by: Pierre Jelenc | last post by:
I have a blog script that is a customized version of Word Press (wordpress.org) at http://www.web-ho.com/blog/ Because of the way it evolved, some of the CSS may not be the best, I have tended...
12
by: who be dat? | last post by:
I'm trying to make a webpage do the following: I want a user to be able to click on a given image (there will be more than one image). Upon clicking a given image, characters specific to that...
1
by: svijay | last post by:
hi I have got a strange problem. May I know any solution for this. Here is the detailed description about the problem We have got a mainframe system and also production and development...
14
by: Roger Withnell | last post by:
How to I find out what size text the browser is set to? Thanks in anticipation.
1
by: Jason Richmeier | last post by:
Hopefully there is an easy answer to this question since it has been bothering me all afternoon. What are the keys that are associated with ToolStripItem objects? Are they keys that allow...
6
by: =?Utf-8?B?bGpsZXZlbmQy?= | last post by:
I want to create a Windows.Forms.ToolStripItem that behaves as if it is an ellipse (e.g., similar to the round Office Button in Office 2007). Drawing the item is no problem, but I also want to...
0
by: Duracel | last post by:
Is it possible to add an owner draw combo box (or similar) as a toolstripitem in a toolstrip? thx.
4
by: liberty1 | last post by:
Hi everyone. I appreciate your effort at helping newbies like me. I have the following problems and will appreciate urgent help. PROBLEM NUMBER 1: Using PHP and MySQL, I am able to upload...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.