in reply to updating size of scrollable Area in TK::Table

Hi, my mind shudders at Tk::Table code. :-) What I will mention, is that scrolled tables often work better when you put a non-scrolled table into a scrolled pane. The scrolled pane somehow allows the table to have it's requested size. You may need a $pane->update, or something similar after a table resize.

But try it for yourself. Just make a scrolled pane, and pack a non-scrolled table into it, with fill=>'both' and expand=>1 set in the packing options for the table and/or pane. You can adjust the size of the scrolled pane window with a geometry option on the main window.

Then play around with changing the number of columns/rows and see how it works on your system.

Of course, I may be missing the point of your problem... :-)


I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku
  • Comment on Re: updating size of scrollable Area in TK::Table