in reply to Get a Tk Button to align left in a frame
Now, when I try your suggestion of using a background color to see this better, I get strange results. When the -fill => 'x' is "on", I get the purple background, as in
my $fA = $mw->Frame( -background => 'purple', )->pack( -side => 'bottom', -fill => 'x', );
But when -fill => 'x' is disabled, as in
my $fA = $mw->Frame( -background => 'purple', )->pack( -side => 'bottom', #-fill => 'x', );
there's not a trace of purple. Is that because the frame is only as big as the button unless you manipulate it via something like -fill?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Get a Tk Button to align left in a frame
by shmem (Chancellor) on May 07, 2007 at 06:53 UTC |