 |
Odoth Wanderer

Joined: 13 Nov 2004 Posts: 54 Location: Visalia, CA
|
Posted: Sat May 20, 2006 8:19 pm
Multiline button captions? |
I've set up some gauges to not really act like gauges but to just display a variable in the caption with a short description of what it is representing. I have these docked on the right side of the screen and with my current setup I need to keep them as thin as possible so they does not cause my main window to be to thin.
As of now everything is okay, I'd just like to add longer descriptive captions. I'm hoping there is some way to insert a line break or something into a caption to force it to display on multiple lines. Does anybody have any info on this?
Here's what the look like at the moment.
 |
|
_________________ *ribbit* |
|
|
 |
Guinn Wizard
Joined: 03 Mar 2001 Posts: 1127 Location: London
|
Posted: Sun May 21, 2006 12:15 am |
You can use %cr for a line break
The whoList button in the screenshot has the following caption where is uses %expandlist with the separator being %cr to make it look nice
Code: |
WhoList%cr-%cr%expandlist(@whoList,%cr) |
Or can have more in it
Code: |
Health: @chealth/@mhealth %cr Mana: @cmana/@mmana %cr - %cr Lessons: @lessons %cr Armour: @armour% %cr Weight: @cterls terls %cr (Can hold %eval((@mterls-@cterls)/3) commodities) |
|
|
|
 |
Odoth Wanderer

Joined: 13 Nov 2004 Posts: 54 Location: Visalia, CA
|
Posted: Sun May 21, 2006 7:03 am |
Excellent! Thanks very much. 
|
|
_________________ *ribbit* |
|
|
 |
|
|