Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Odoth
Wanderer


Joined: 13 Nov 2004
Posts: 54
Location: Visalia, CA

PostPosted: 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*
Reply with quote
Guinn
Wizard


Joined: 03 Mar 2001
Posts: 1127
Location: London

PostPosted: 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)
Reply with quote
Odoth
Wanderer


Joined: 13 Nov 2004
Posts: 54
Location: Visalia, CA

PostPosted: Sun May 21, 2006 7:03 am   
 
Excellent! Thanks very much. Very Happy
_________________
*ribbit*
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net