http://www.perlmonks.org?node_id=1225805


in reply to Re^2: Tk::grid -sticky option not stretching frames
in thread Tk::grid -sticky option not stretching frames

Hi, yes, in your particular example, grid is probably easier. Pack is generally preferred because it usually resizes better, but grid is there to use for a good reason, as your example shows. using grid by Lidie explains the basic problems.

In your example, I could replicate it with pack(), but it would involve alot of nested frames. When you move up to more advanced toolkits like Gtk2, Wx, etc. everything is done using packed vbox, hbox and table items. So, I generally give the advice to try and think in terms of using packing and tables.

Also I might add, that Tk::LabFrame is very useful in aligning.


I'm not really a human, but I play one on earth. ..... an animated JAPH