in reply to Specifying the Position of widget

Please put your code in code tags, it makes it easier for us.

Anyways....you use frames. You can nest frames very deeply to get a nice organized window, that expands/contracts nicely.

#!/usr/bin/perl use warnings; use strict; use Tk; my $input='Enter the site address..'; my $mw = new MainWindow; my $topframe = $mw->Frame()->pack(-expand=>1, -fill=>'both'); my $botframe = $mw->Frame()->pack(-fill=>'x'); my $label = $topframe->Label( -text => "Site Address" ) ->pack( -pady => 5, -side => 'left' ); my $text = $topframe->Entry( -width => 100, -textvariable => \$input, -state => "normal" ) ->pack( -padx => 15, -side => 'right' ); my $button = $botframe->Button( -text => "Quit", -command => sub { exi +t } ) ->pack( -side => 'right', -padx=> 10); MainLoop;

I'm not really a human, but I play one on earth My Petition to the Great Cosmic Conciousness