diff options
author | das <das> | 2007-04-23 21:16:00 (GMT) |
---|---|---|
committer | das <das> | 2007-04-23 21:16:00 (GMT) |
commit | 97873b5cca440eeaaf3787bc7d4fa5188b2510d3 (patch) | |
tree | d05530f9850fbb244956c2cdd80abfda3de610e3 /library/demos/puzzle.tcl | |
parent | eed9e6e51c9b315cca0fab5242fb5d5ed79f1d92 (diff) | |
download | tk-97873b5cca440eeaaf3787bc7d4fa5188b2510d3.zip tk-97873b5cca440eeaaf3787bc7d4fa5188b2510d3.tar.gz tk-97873b5cca440eeaaf3787bc7d4fa5188b2510d3.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:
Diffstat (limited to 'library/demos/puzzle.tcl')
-rw-r--r-- | library/demos/puzzle.tcl | 6 |
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 } |