Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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?
[RonW]: RPerl is only a curiosity to me. I can see where some one who primarily codes in Perl might find RPerl useful, but to me, given the choice between RPerl's restrictions and C, I'd choose C
[LanX]: Rperl had better chances as alternative for inline::cpp
[LanX]: thus optimizing inner loops
[LanX]: .... well

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2017-05-22 20:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?