[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Easy UI question about buttons...

Posted on 1997-07-22
3
Medium Priority
?
230 Views
Last Modified: 2013-12-03
I would like to have more than one line of text on a button.
I simply want more height and less width on my buttons,
but I can't figure out how to make the button text wrap down to the second line. EX:

I want :

-------------------
|    Button   |
|        #1     |
-------------------

not:
---------------------------
|    Button  #1     |
---------------------------

Thanks.
0
Comment
Question by:salamander
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
md041797 earned 150 total points
ID: 1401697
Use BS_MULTILINE.
0
 

Author Comment

by:salamander
ID: 1401698
What about centering the text?
0
 
LVL 4

Expert Comment

by:md041797
ID: 1401699
There is no way to center justify the text, but if you use BS_CENTER style and put '\n' characters in the caption wherever you want to break the line, you will get a centered block on the button that is left justified.
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to add a user-defined command button to the Windows 7 Explorer toolbar.  In the previous article (http://www.experts-exchange.com/A_2172.html), we saw how to put the Delete button back there where it belongs.  "Delete" is …
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question