Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Formatting text-Create table -perl Tk

by reaper9187 (Scribe)
on Dec 05, 2012 at 18:14 UTC ( #1007356=note: print w/ replies, xml ) Need Help??

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...

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2015-11-28 17:19 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (743 votes), past polls