in reply to Want Tk to fully display 4x6 widget w/ grid instead of collapsing it
would make your cells always at least 80 pixels wide. All you have to do is make sure that minsize is greather than or equal to the largest widget.for (my $i = 0; $i < $rows; $i++) { $tl->gridRowconfigure($i, -weight => 1, -minsize => 80); }
I have used this (many times!) in TCL/Tk, but not in Perl/Tk. However, I can't see why it wouldn't work.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Want Tk to fully display 4x6 widget w/ grid instead of collapsing it
by ff (Hermit) on Oct 25, 2002 at 14:11 UTC |