unknown-monk has asked for the wisdom of the Perl Monks concerning the following question:
My main problem is that the total padding between this two buttons is 20, but I want it to also be 10, of course without setting the external padding of both buttons to 5.#!/usr/local/bin/perl -w use Tk; my $mw =MainWindow ->new; $mw -> Button()->grid(-row => 0, -column => 0, -padx => 10); $mw -> Button()->grid(-row => 0, -column => 1, -padx => 10); MainLoop;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl/Tk: Issues with external padding
by lamprecht (Friar) on May 13, 2010 at 12:57 UTC | |
by unknown-monk (Novice) on May 13, 2010 at 13:30 UTC | |
by afoken (Chancellor) on May 13, 2010 at 14:08 UTC | |
by unknown-monk (Novice) on May 14, 2010 at 10:02 UTC | |
by lamprecht (Friar) on May 15, 2010 at 09:52 UTC | |
by choroba (Cardinal) on May 14, 2010 at 11:08 UTC |