in reply to Canvas floating above another canvas

There are other geometry managers besides pack, like Tk::place
  • Comment on Re: Canvas floating above another canvas

Replies are listed 'Best First'.
Re^2: Canvas floating above another canvas
by Anonymous Monk on Jul 26, 2012 at 23:27 UTC

    This "works"

    use Tk; $mw=tkinit; $ca=$mw->Canvas(qw{-bg white})->pack; $fl=$mw->Canvas(qw{-bg red width 60 height 50 }); $fl->place(qw{ -anchor n -relx 1.0 }, -in => $ca ); MainLoop;