in reply to Re^3: Textview format, help please !
in thread Textview format, help please !

That works, partially, the problem is it prints out the table as it should be in the cmd window, but the same text in the textview are scrambled :(

Replies are listed 'Best First'.
Re^5: Textview format, help please !
by roboticus (Chancellor) on Jul 22, 2010 at 16:13 UTC

    peokai:

    I don't use Tk, Glade, Gtk, et. al., so this is just a wild guess. You've probably already considered this, but just on the chance that you didn't: Are you using a proportional font in our text window? A proportional font causes just the symptom you're describing because each letter may have a different width on the screen. Using a monospaced font (Courier, for instance) would fix the problem if that's the case.

    ...roboticus