Lhamo_rin has asked for the wisdom of the Perl Monks concerning the following question:
Lhamo_rinmy $mw = MainWindow-> new(); $mw->Label(text => "To:", -justify => 'left')-> grid(-column => 1, -ro +w => 1, -sticky => 'w'); $mw->Label(text => "From:", -justify => 'left')-> grid(-column => 1, - +row => 3, -sticky => 'w'); $mw->Entry(-textvariable => \$ARGV[0])-> grid(-column => 2, -row => 1, + -sticky => 'w'); $mw->Label(-textvariable => \$from, -justify => 'left')-> grid(-column + => 2, -row => 3, -sticky => 'w'); $mw->Label(text => "Message:", -justify => 'left')-> grid(-column => 1 +, -row => 5); $mw->Entry(-textvariable => \$msg, -width => 50)-> grid(-column => 2, +-row => 5); $mw->Button(-text => "Send", -command => \&sent)-> grid(-column => 1, +-row => 7); $mw->Button(-text => "Cancel", -command => sub { exit})-> grid(-column + => 3, -row => 7); $mw->title("Support Email"); MainLoop;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Tk Misalignment
by Tanalis (Curate) on Jul 03, 2003 at 07:38 UTC | |
by zby (Vicar) on Jul 03, 2003 at 08:27 UTC | |
|
Re: Tk Misalignment
by zby (Vicar) on Jul 03, 2003 at 07:29 UTC | |
|
Re: Tk Misalignment
by Popcorn Dave (Abbot) on Jul 03, 2003 at 02:30 UTC | |
|
Re: Tk Misalignment
by zentara (Cardinal) on Jul 03, 2003 at 15:49 UTC |