gri6507 has asked for the wisdom of the Perl Monks concerning the following question:
and what I get is some kind of an empty space above my Label and browseEntry. That is playing havoc in my GUI right now and for the life of me, I can't figure out where this extra space is coming from. Does anyone know?use strict; use Tk; use Data::Dumper; my $active_text_color = "#000000"; my $bgcolor = "#FFFFFF"; my $text_font = 'helvetica 12'; my $mw = MainWindow->new(); my $f = $mw->BrowseEntry(-label=>'Try Me:', -labelPack=>[qw(-side left + -anchor w)],-labelFont=>$text_font, -labelForeground=>$active_text_c +olor, -labelBackground=>$bgcolor, -width=>5, -choices=>[qw(A B C)])-> +pack(-side=>'left', -expand=>1, -fill=>'x'); print Dumper(\$f); MainLoop;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Tk::BrowseEntry question
by eserte (Deacon) on Dec 16, 2006 at 11:47 UTC | |
|
Re: Tk::BrowseEntry question
by Popcorn Dave (Abbot) on Dec 16, 2006 at 06:11 UTC |