summaryrefslogtreecommitdiffstats
path: root/library/demos/knightstour.tcl
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-08-05 20:33:00 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-08-05 20:33:00 (GMT)
commit3525b8b01c138cbc30c498a9e0f9a587dab26e32 (patch)
treeba3e06ffe6fd6984eed8bc65e6beca7e61d4e076 /library/demos/knightstour.tcl
parent9f976792239fa11da36f575e206bd8e6f1cc0045 (diff)
downloadtk-3525b8b01c138cbc30c498a9e0f9a587dab26e32.zip
tk-3525b8b01c138cbc30c498a9e0f9a587dab26e32.tar.gz
tk-3525b8b01c138cbc30c498a9e0f9a587dab26e32.tar.bz2
Remove various unnecessary "global tcl_platform" occurrences, which are no longer used.
Add "Fit To Screen Width" menu entry to Windows (and android) console menu. Ported from androwish.
Diffstat (limited to 'library/demos/knightstour.tcl')
-rw-r--r--library/demos/knightstour.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/demos/knightstour.tcl b/library/demos/knightstour.tcl
index 73ca3a3..6113db2 100644
--- a/library/demos/knightstour.tcl
+++ b/library/demos/knightstour.tcl
@@ -221,7 +221,7 @@ proc CreateGUI {} {
$c bind knight <ButtonPress-1> [namespace code [list DragStart %W %x %y]]
$c bind knight <Motion> [namespace code [list DragMotion %W %x %y]]
$c bind knight <ButtonRelease-1> [namespace code [list DragEnd %W %x %y]]
-
+
grid $c $f.txt $f.vs -sticky news
grid rowconfigure $f 0 -weight 1
grid columnconfigure $f 1 -weight 1
@@ -244,7 +244,7 @@ proc CreateGUI {} {
if {[info exists ::widgetDemo]} {
grid [addSeeDismiss $dlg.buttons $dlg] - - - - - -sticky ew
}
-
+
grid rowconfigure $dlg 0 -weight 1
grid columnconfigure $dlg 0 -weight 1