in reply to Undesired space between Tk Canvases
$canvas->configure(-highlightthickness =>0);
:-)
update: I see you found out while I was writing the answer... highlightthickness is the width of the highlight border (default 1 pixel). If you set it to 0, the element will not highlight while cycling through the elements with <Tab>, since there is nothing to colour. If you want to leave the border there, use
$canvas->configure(-highlightbackground => $background);
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Undesired space between Tk Canvases
by liverpole (Monsignor) on Apr 25, 2007 at 13:46 UTC |