in reply to Re: Beginner TK frame question: left aligning buttons
in thread Beginner TK frame question: left aligning buttons

Instead of hard-coding a width, you can also use the
-fill => 'x'
option of pack() to make the widget take any extra horizontal space in its parent. You still need the
-anchor => 'w'
bit of course.

Replies are listed 'Best First'.
Re^3: Beginner TK frame question: left aligning buttons
by tachyon (Chancellor) on Sep 13, 2004 at 02:44 UTC

    That is much more elegant.

    cheers

    tachyon