Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi, using Tk::MlISTBOX, I created a widget having 3 columns and also speciefied the width of each column. But if the length of the contents of listbox is greater than the width of the column, I see some of the contents get hidden. Please tell if there is any mechanism to increase the width of the column automatically. Regards Kishon
  • Comment on Tk::MlistBox- increasing the width of the column

Replies are listed 'Best First'.
Re: Tk::MlistBox- increasing the width of the column
by planetscape (Chancellor) on Aug 20, 2008 at 09:35 UTC

    Again, what have you actually tried? Please demonstrate you have made some effort to help yourself before expecting us to write your code for you.

    HTH,

    planetscape
Re: Tk::MlistBox- increasing the width of the column
by zentara (Cardinal) on Aug 20, 2008 at 12:16 UTC
    You might be better off going with a Tk::HList is you need automatic resizing of column width. Here is a demo.

    I'm not really a human, but I play one on earth Remember How Lucky You Are
      Thank you planetscape. I'll take your advice on further posts. @zentara Thanks for suggesting HList.Tk::Hlist really solved my problem.