in reply to Re^2: Question about packing frames
in thread Question about packing frames

I just noticed there is more than one -expand=>1
Change the first one.

Here's more context:

my $ctl = $mw->Frame(-borderwidth => 1, -relief => 'solid', -width => 300, -bg => 'aquamarine', )->pack( -side=>'left', -fill=>'y', -expand=>0, -anchor => 'w', );

Replies are listed 'Best First'.
Re^4: Question about packing frames
by CrashBlossom (Beadle) on Oct 21, 2019 at 23:47 UTC

    Your are right!

    Thought I had tried that, but apparently not. I would have thought that if the left frame was expanding in X, I would see the left frame's aquamarine background instead of the main window's gold background. But I guess some of Perl's mysteries are unfathomable.

    Anyway, thanks!