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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Solaras
Wanderer


Joined: 11 Mar 2002
Posts: 93

PostPosted: Wed Jul 02, 2008 1:25 pm   

Status bar - Status Window %format discrepancy
 
I am not sure if this has always been the case as I never bothered to use %format on the status bar until recently. However, formated lines shift themselves on the status bar, where as they work the way they are expected to in the status window.

The following code is an example of what I use.
Code:
%ansi(bold,black,white)Target: %ansi(bold,red,white)%format("&-15s", @target)%ansi(bold,black,white) Target2: %ansi(bold,blue,white)%format("&-15s", @target2)%ansi(bold,black,white)Target3:%format("&-15s", @target3)


In the status window this text holds stationary with the correct spacing, no matter the character length of the variable contents.

On the status bar, however, the text shifts left and right depending on the character length of the variable contents.
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Wed Jul 02, 2008 2:58 pm   
 
The bar doesn't use a fixed-width font.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Anaristos
Sorcerer


Joined: 17 Jul 2007
Posts: 821
Location: California

PostPosted: Wed Jul 02, 2008 8:30 pm   
 
Actually I have used the following in a status window successfuly:
Code:

<font fixedsys 9>...........</font>

Though it seems to ignore the fontsize, it will display the text using the FixedSys font, which is monospace. One should note that in this font bold glyphs have a larger width than the normal ones.
_________________
Sic itur ad astra.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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