summaryrefslogtreecommitdiffstats
path: root/library/demos/puzzle.tcl
diff options
context:
space:
mode:
authordas <das@noemail.net>2007-04-23 21:15:59 (GMT)
committerdas <das@noemail.net>2007-04-23 21:15:59 (GMT)
commitaf0756462cce85d9e88843abb1b558fbc1be39e6 (patch)
treed05530f9850fbb244956c2cdd80abfda3de610e3 /library/demos/puzzle.tcl
parent919ffc547d5fc3762ad48ce6305371d7d2fadb5f (diff)
downloadtk-af0756462cce85d9e88843abb1b558fbc1be39e6.zip
tk-af0756462cce85d9e88843abb1b558fbc1be39e6.tar.gz
tk-af0756462cce85d9e88843abb1b558fbc1be39e6.tar.bz2
* library/demos/goldberg.tcl: fix overwriting of widget demo global.
* library/demos/menu.tcl: on aqua, use custom MDEF and tearoffs; * library/demos/menubu.tcl: correct menubutton toplevel name. * library/demos/puzzle.tcl: fix button size & padding for aqua. * library/demos/radio.tcl: FossilOrigin-Name: 22ac054f865b462d05bd23f42c8b92b51a559be8
Diffstat (limited to 'library/demos/puzzle.tcl')
-rw-r--r--library/demos/puzzle.tcl6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/demos/puzzle.tcl b/library/demos/puzzle.tcl
index 8b1a888..485f69c 100644
--- a/library/demos/puzzle.tcl
+++ b/library/demos/puzzle.tcl
@@ -3,7 +3,7 @@
# This demonstration script creates a 15-puzzle game using a collection
# of buttons.
#
-# RCS: @(#) $Id: puzzle.tcl,v 1.6 2004/12/21 11:56:35 dkf Exp $
+# RCS: @(#) $Id: puzzle.tcl,v 1.7 2007/04/23 21:16:01 das Exp $
if {![info exists widgetDemo]} {
error "This script should be run from the \"widget\" demo."
@@ -59,8 +59,8 @@ scrollbar $w.s
# using place which doesn't autosize, then we need to have a
# slightly larger frame here...
-if {[string equal [tk windowingsystem] aqua]} {
- set frameSize 160
+if {[tk windowingsystem] eq "aqua"} {
+ set frameSize 168
} else {
set frameSize 120
}