in reply to TK ListBox and Scrollbar
I don't see 'fill' as an option to Tk::place, but if you read perldoc Tk::place, there are some options you can play with to try and make it the same size as the listbox, I would try the -relheight and -relwidth options. But pack is so much easier to use than place, so unless you need it for some reason, switch to pack, or use the Scrolled('Listbox'...)$yscroll->pack( -side => 'left', -fill => 'y' ); $xscroll->pack( -side => 'bottom', -fill => 'x' );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: TK ListBox and Scrollbar
by SteveS832001 (Sexton) on Mar 11, 2008 at 14:47 UTC |