Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

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?

Comment on Re: string alignment
Download Code
Replies are listed 'Best First'.
Re^2: string alignment
by AnomalousMonk (Abbot) 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://954627]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (14)
As of 2015-10-13 17:59 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (312 votes), past polls