in reply to Tk window panes not resizing the way I want

Changing
params_box()->pack (-side => 'top', -anchor=>'w', -expand=>1, -fill=>' +x');
to
params_box()->pack (-side => 'top', -anchor=>'w', -expand=>0);
seems to do it.

--traveler

Replies are listed 'Best First'.
Re: Re: Tk window panes not resizing the way I want
by John M. Dlugosz (Monsignor) on Nov 21, 2002 at 23:17 UTC
    Well, that messes up the horizontal direction. It doesn't expand the rightmost text boxes to fill the available space, and doesn't resize in the X direction as the window changes width.
      OOPS, I missed that criterion. Then try the line:
      params_box()->pack (-side => 'top', -anchor=>'w', -expand=>0, -fill=>' +x');
      This causes width expansion to all be in the rightmost part. Is that what you want?

      --traveler

        Yes, that work right. I can't imagine why I didn't try that permutation when I was writing it originally. Perhaps it's a bug that's been fixed since? I recall that info on gridColumnconfigure was hard to come by, and it was rather picky.

        Many thanks.

        —John