Noam has asked for the wisdom of the Perl Monks concerning the following question:

Hi all,
I want to add Check Buttons to a table but they all appear in the center of the column, i want them to be aligned to the left. how can i do that?
this is how i added them to the table:
$table->put($i, 1, $chks{$test} = $table->Checkbutton(-highlightthickn +ess=>0,-text=>"yada yada",-background=> $color,-variable=>\$test_chks +{$test}));

thanks.

Replies are listed 'Best First'.
Re: Tk: Widgets inside Table
by Noam (Initiate) on Jun 10, 2010 at 07:15 UTC

    I used -anchor on the check buttons and it worked. Sorry about the stupid question.