Title: widget placement ->pack

If create at text widget $text = $top->Text ('-width' =>  110,'-height' => 40)->pack();
my next widget $top->Label('-text' => 'Command:')->pack('-side' => 'left');
will appear on the bottom left of the text box, which is whatI expect to happen.  Now if I
add a scrollbar, before the Label is created, to be placed on the right of
the text box using:
my $scroll = $top->Scrollbar(-command => ['yview',$text]);
$text->configure(-yscrollcommand => ['set', $scroll]);
$text->pack(-side => 'left', -fill => 'both', -expand => 1);
$scroll->pack(-side => 'left', -fill => 'y');
Then at this point, for the life of me, I can't seem to place the Label to
the bottom left of the text box.  Various combinations are always placing
the label to the right of the scroll bar, ie. whether it be top or bottom.

Thanks for any help.

Reply via email to