Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: string alignment

by Riales (Hermit)
on Feb 17, 2012 at 21:57 UTC ( #954627=note: print w/replies, xml ) Need Help??


in reply to string alignment

I don't know what a listbox is, but here's a guess:

The first thing I would point out is that not all fonts have characters that are all the same width. Based on your code sample, however, it looks like the listbox is condensing sequences of spaces into a single space. Have you tried using the   character?

Replies are listed 'Best First'.
Re^2: string alignment
by AnomalousMonk (Canon) on Feb 17, 2012 at 22:05 UTC
    Based on your code sample ...

    What code sample?

      Whoops, not code sample, but just example. Sorry!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://954627]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2016-12-04 21:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (69 votes). Check out past polls.