Sounds like you need a mono-spaced font... Try setting the font for the
control ->
control.SetFont(wx.Font(...)) # fill in the parameters to wx.Font
I'm not sure about how to get a mono-spaced font in a cross-platform way..
In windows, I always use "Lucida Console" when I want a mono-spaced font.
I'm sure there are others, but I am not a font expert so I can't conjure any
up right now...
jw
-->-----Original Message-----
-->From: Junk [mailto:junk@centliq.com]
-->Sent: Monday, August 30, 2004 3:26 PM
-->To: wxPython
-->Subject: [wxPython-users] Lining up text
-->
-->I'm attempting to lineup text in a TextCtrl() This was orginially a CLI
-->program, but in Windows98 the output can scroll past the lengh of the
-->screen. So I decided to put it's output in a TextCtrl output but the
-->text doesn't lineup properly I guess because the colums arn't the same
-->depending the the text the fills each colum. Does anyone know a better
-->way to get the plain text to line up in a TextCtrl box?
-->
-->Thanks,
-->Dave
-->
-->
-->
-->---------------------------------------------------------------------
-->To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
-->For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org