Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I only have five entries but when the menue get loaded , it will have big empty space at the bottom . thanks$t = $mw->Scrolled("Text", -width => 35, -wrap => 'none')->pack(-expand => 1, -fill => 'both +'); foreach (qw/ Order1 Order2 Order3 Order4 Total/) { $w = $t->Label(-text => "$_:", -relief => 'groove', -width => +20); $t->windowCreate('end', -window => $w); $w = $t->Entry(-width => 20, -textvariable => \$info{$_}); $t->windowCreate('end', -window => $w); $t->insert('end', "\n"); } $t->configure(-state => 'disabled');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Tk: How do you control the height of a Scroll?
by arden (Curate) on Mar 02, 2004 at 05:06 UTC | |
|
Re: Tk: How do you control the height of a Scroll?
by mawe (Hermit) on Mar 02, 2004 at 06:24 UTC | |
by Anonymous Monk on Mar 02, 2004 at 06:28 UTC | |
by flyingmoose (Priest) on Mar 02, 2004 at 13:38 UTC |