merrymonk has asked for the wisdom of the Perl Monks concerning the following question:
use Tk; use strict; my $mw = MainWindow->new(-title => 'CheckBox size'); my $f = $mw->Frame->pack(-side => 'top'); my $weight = "normal"; my $fch = $f->Checkbutton( -text => "Weight", -variable => \$weight, )->pack(-side => 'left'); my $size = 16; $fch->configure(-font => [ -size => $size ]); my $fch2 = $f->Checkbutton( -text => "Weight", -variable => \$weight, )->pack(-side => 'left'); $size = 32; $fch2->configure(-font => [ -size => $size ]); MainLoop;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Tk - Tick box size change
by Lotus1 (Vicar) on Mar 13, 2019 at 19:06 UTC | |
by merrymonk (Hermit) on Mar 13, 2019 at 20:31 UTC | |
by Lotus1 (Vicar) on Mar 14, 2019 at 14:03 UTC |