kbrannen has asked for the wisdom of the Perl Monks concerning the following question:
which gets me really close, but it seems cumbersome. I assume I can do something similar for verticals with some option changes, but I haven't tried it yet. Is there a better alternative anyone can suggest?my $frame = $parent->Frame(); my $info = $frame->Label(-text => "General Info")->pack(); # separator ... sort of $frame->Frame(-background => "black", -borderwidth => 1, -relief => 'r +aised', -height => 2) ->pack(-fill => 'x', -padx => 5, -pady => 5); my $comments = $frame->Label(-text => "next widget")->pack();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Looking for a standalone separator for Perl/Tk
by tybalt89 (Monsignor) on Mar 24, 2017 at 18:08 UTC | |
by kbrannen (Beadle) on Mar 24, 2017 at 18:59 UTC | |
by tybalt89 (Monsignor) on Mar 24, 2017 at 19:57 UTC | |
by kbrannen (Beadle) on Mar 24, 2017 at 22:56 UTC |