Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Stretchy grids in Tkby Abigail-II (Bishop) |
on Sep 15, 2003 at 13:02 UTC ( [id://291546]=note: print w/replies, xml ) | Need Help?? |
I don't have Tk on this machine to test this with, but you may want to try creating your widgets with -expand => 1 to expand the allocation rectangle to fill all the unfilled space, and -fill => 'both' to make the widget take up the full space of the allocation rectangle. That's only for the pack manager, not for the grid manager. For the latter, you need to use the -sticky option, and set it to the value nesw. Abigail
In Section
Seekers of Perl Wisdom
|
|