Link to home
Start Free TrialLog in
Avatar of salamander
salamander

asked on

Easy UI question about buttons...

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.
ASKER CERTIFIED SOLUTION
Avatar of md041797
md041797

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of salamander
salamander

ASKER

What about centering the text?
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.