artemave has asked for the wisdom of the Perl Monks concerning the following question:
And the same but scrolled:$match_box_wdg = $re_edit_frame_wdg->SearchEntry( -width => 70, -height => 1, -font => "$text_font $text_size", -bg => "#ffffff", )->grid( -sticky => 'w', -row => 1, -column => 0, -padx => 5, -pady => 1, );
Both are fine. Look and behave quite the same, except.. Except for one thing that drives me crazy. If somewhere I do $match_box_wdg->configure('height => 10'); it works properly for the first case, but doesn't change the appearence for the second one!$match_box_wdg = $re_edit_frame_wdg->Scrolled( 'SearchEntry', #custom widget -scrollbars => '', -width => 70, -height => 1, -font => "$text_font $text_size", -bg => "#ffffff", )->grid( -sticky => 'w', -row => 1, -column => 0, -padx => 5, -pady => 1, )->Subwidget('scrolled');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl/Tk Scrolled issue
by graff (Chancellor) on Aug 19, 2006 at 17:33 UTC | |
by artemave (Beadle) on Aug 19, 2006 at 18:21 UTC | |
by artemave (Beadle) on Aug 20, 2006 at 12:12 UTC | |
|
Re: Perl/Tk Scrolled issue
by jdtoronto (Prior) on Aug 20, 2006 at 01:27 UTC | |
by artemave (Beadle) on Aug 20, 2006 at 12:08 UTC | |
by rcseege (Pilgrim) on Aug 20, 2006 at 19:38 UTC | |
by artemave (Beadle) on Aug 21, 2006 at 20:33 UTC | |
by rcseege (Pilgrim) on Aug 22, 2006 at 13:42 UTC | |
by tanyeun (Sexton) on Aug 20, 2006 at 12:12 UTC | |
by artemave (Beadle) on Aug 20, 2006 at 12:19 UTC | |
|
Re: Perl/Tk Scrolled issue
by aquarium (Curate) on Aug 19, 2006 at 16:37 UTC | |
by artemave (Beadle) on Aug 19, 2006 at 18:18 UTC | |
by rcseege (Pilgrim) on Aug 20, 2006 at 19:46 UTC |