summaryrefslogtreecommitdiffstats
path: root/library/demos
diff options
context:
space:
mode:
authorculler <culler>2019-01-16 03:41:10 (GMT)
committerculler <culler>2019-01-16 03:41:10 (GMT)
commitc910f94eaaf0390532bf9b6f96c43e89c2e7939d (patch)
treece1b300cf252cec712a04d58e11675cb63dabfb8 /library/demos
parent5cb97cd301ec4db2dde21a900ddf3593b5998aeb (diff)
downloadtk-c910f94eaaf0390532bf9b6f96c43e89c2e7939d.zip
tk-c910f94eaaf0390532bf9b6f96c43e89c2e7939d.tar.gz
tk-c910f94eaaf0390532bf9b6f96c43e89c2e7939d.tar.bz2
Fix bug [e733d3770f]: geometry issues with buttons on macOS
Diffstat (limited to 'library/demos')
-rw-r--r--library/demos/puzzle.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/demos/puzzle.tcl b/library/demos/puzzle.tcl
index 4f7f955..eebe87a 100644
--- a/library/demos/puzzle.tcl
+++ b/library/demos/puzzle.tcl
@@ -73,7 +73,7 @@ for {set i 0} {$i < 15} {set i [expr {$i+1}]} {
set num [lindex $order $i]
set xpos($num) [expr {($i%4)*.25}]
set ypos($num) [expr {($i/4)*.25}]
- button $w.frame.$num -relief raised -text $num -highlightthickness 0 \
+ button $w.frame.$num -relief raised -text $num -bd 0 -highlightthickness 0 \
-command "puzzleSwitch $w $num"
place $w.frame.$num -relx $xpos($num) -rely $ypos($num) \
-relwidth .25 -relheight .25