in reply to Formatting text-Create table -perl Tk

I was just trying to use the Text::Table module and it seemed to work perfectly well in the command window. But its acting up in the Tk text widget .. As far as i understand ,the column width is adaptable to string size( or is it ??) being entered.. When i try to output the result in the text widget , its all messy again .. Kindly Help ,...!!!!
  • Comment on Re: Formatting text-Create table -perl Tk

Replies are listed 'Best First'.
Re^2: Formatting text-Create table -perl Tk
by brap (Pilgrim) on Dec 05, 2012 at 18:56 UTC

    Hiya reaper9187,

    There's a chance this isn't your problem, but I wonder if you're using a monospaced font in your text widget. I'm not terribly familiar with Tk myself, so maybe it does so by default. If not, maybe something in a nice Courier will do (at least you'll be able to see if that's the issue).

    Good luck...