Than your pane is just centerd, and not the lable. Try to set the pane over the full size ( mybe with a frame ->pack(-side=>'top' -fill=>'x', -expand=>1);
kris On 25.11.2002 17:50 Uhr, "Beckett Richard-qswi266" <[EMAIL PROTECTED]> wrote: > That doesn't seem to work, either. > > Thanks. > > R. > >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] >> Sent: 25 November 2002 16:45 >> To: Beckett Richard-qswi266 >> Subject: Re: Justifying text in a Tk label? >> >> >> try 'align=>' >> >> greets kris >> >> On 25 Nov 2002 at 15:23, Beckett Richard-qswi266 wrote: >> >>> Anyone know how to justify the text within a Tk label? >>> >>> I tried many combinations, like: >>> >>> my $label = $frame->Label (-text => "Hostname :", -relief >> => "raised", >>> -borderwidth => "2", -width => "25", -justify => "left") >>> >>> -> pack (-side => "top", -anchor => "e", -padx => "1", >> -pady => "1"); >>> >>> But I couldn't make any difference, the text is always centered. >>> >>> Thanks. >>> >>> R. >>> _______________________________________________ >>> Perl-Win32-Users mailing list >>> [EMAIL PROTECTED] >>> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs >> >> _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs