M
MoshiachNow
HI,
Using a function on Windows,I define a $test variable as following:
$text=sprintf("%-35s %-13s",$_,'(directory)');
Then define the checkbutton:
$button[$i] = $dialog5->Checkbutton(-text => "$text",-variable =>
\($var->{$_}),-relief => 'flat')->pack(@pl);
The text in $text DOES NOT get lined up !
If at the same time I print $text to the black window
print "$text\n";
the text DOES look lined up.
What is wrong ?
Thanks
Using a function on Windows,I define a $test variable as following:
$text=sprintf("%-35s %-13s",$_,'(directory)');
Then define the checkbutton:
$button[$i] = $dialog5->Checkbutton(-text => "$text",-variable =>
\($var->{$_}),-relief => 'flat')->pack(@pl);
The text in $text DOES NOT get lined up !
If at the same time I print $text to the black window
print "$text\n";
the text DOES look lined up.
What is wrong ?
Thanks