Page 1 of 1
How do I wrap long button names?
Posted: Tue Jun 26, 2007 12:47 am
by mluka
Hi, all.
I'm sure this is a very basic question but I can't seem to find the answer in the docs or the forum:
I need some buttons with names that are fairly long (2-3 words). The buttons have to be squarish in shape, not elongated. How do I get the button name (or label?) to wrap and use the full height of the button???
Thanks!
Posted: Tue Jun 26, 2007 4:16 am
by kpeters
Hi Michel ~
one way would be:
set the label of button "test" to "This is a very" & CR & "verbose caption"
Regards,
Kai
Posted: Tue Jun 26, 2007 1:57 pm
by xApple
You can even do it from the inspector interface:
What I usually do is type the long button name I want in the tooltip field (which is a bit larger) and then cut&paste it to the button name field.
Cheers.
Multi-line button names
Posted: Wed Jun 27, 2007 2:34 am
by mluka
Thanks for two excellent suggestions.
I did notice a weird (?) behaviour in testing out these suggestions: if I use the tooltip area to prepare the text (say two words on two separate lines) and then copy and paste this text into the label area, everything works fine.
However, if I cut and paste into the name area, then what I get is this: word1_word2!
Weird, non?
But thanks again for the suggestions. They answer my question.
Posted: Fri Jun 29, 2007 7:21 am
by kpeters
Not weird - control names may not contain control characters such as carriage returns or linefeeds.
So it looks as if Revolutions replaces these illegal characters with legal ones...
HTH,
Kai