in reply to Re: Perl/Tk: Need Assistance with use of pack()
in thread Perl/Tk: Need Assistance with use of pack()
I've also used -anchor to position the frames and Entry items within the frames and things seem to make a bit more sense now (to both Perl AND me!).
The current problem I'm having now is to work-out why text in a Label is always displayed centred when -justify => 'right' is included in a construct like:-
I've tried looking through a couple of FAQs, tried searching on the web, looking in a couple of my books, etc. but it just doesn't seem to want to work! I'll nut about on it for a while before I post a question on it though.my $mw = MainWindow->new; my $pmt3 = $mw->Label( -width => 10, # -height => 3, -justify => 'right', # -text => 'Version: more text is it longer enough', -text => 'Version:', -background => 'magenta', )->pack; MainLoop;
Many thanks for your suggestions -- they were very helpful :)
John
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Perl/Tk: Need Assistance with use of pack()
by PodMaster (Abbot) on Apr 25, 2004 at 12:59 UTC | |
by ozboomer (Friar) on Apr 25, 2004 at 13:22 UTC | |
by eserte (Deacon) on Apr 26, 2004 at 12:00 UTC |