Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Button Label
Button Label [message #8047] |
Mon, 05 February 2007 20:36  |
MikeyV
Messages: 20 Registered: February 2007
|
Promising Member |
|
|
I'm sure this is something simple, but I couldn't find an answer using the forum search, or in the examples.
How do I turn on word wrapping for a button?
|
|
|
|
|
Re: Button Label [message #8067 is a reply to message #8047] |
Tue, 06 February 2007 00:31   |
MikeyV
Messages: 20 Registered: February 2007
|
Promising Member |
|
|
Okay, after playing around a bit, I can get the text to wrap, but it's not optimal, and it looks bad, as the second line doesn't center.
Before:
SetLabel(t_("IST/ISR Input Screen"))
After:
SetLabel(t_("IST/ISR Input \n Screen"))
Forgive my questions, but it's been about 5 years since I've done any C++ programming, and 5 years ago I was still learning.
I don't have a very good handle on things like structs, vectors, templates, and several other things.
|
|
|
|
|
Goto Forum:
Current Time: Mon Apr 28 23:13:42 CEST 2025
Total time taken to generate the page: 0.00879 seconds
|