summaryrefslogtreecommitdiffstats
path: root/library/demos/widget
diff options
context:
space:
mode:
authordas <das>2007-10-17 18:55:05 (GMT)
committerdas <das>2007-10-17 18:55:05 (GMT)
commitddc2bc56d36ab7adfd22fe2b85a21c234cb5862d (patch)
tree68defd6e399439befded294f53366940bbd12873 /library/demos/widget
parent6a127a690e28a07ba6cd36bdda959bba81570cba (diff)
downloadtk-ddc2bc56d36ab7adfd22fe2b85a21c234cb5862d.zip
tk-ddc2bc56d36ab7adfd22fe2b85a21c234cb5862d.tar.gz
tk-ddc2bc56d36ab7adfd22fe2b85a21c234cb5862d.tar.bz2
more GOOBE
Diffstat (limited to 'library/demos/widget')
-rw-r--r--library/demos/widget5
1 files changed, 4 insertions, 1 deletions
diff --git a/library/demos/widget b/library/demos/widget
index af5dbd6..04b1b2b 100644
--- a/library/demos/widget
+++ b/library/demos/widget
@@ -10,7 +10,7 @@ exec wish "$0" "$@"
# separate ".tcl" files is this directory, which are sourced by this script as
# needed.
#
-# RCS: @(#) $Id: widget,v 1.34 2007/10/17 18:21:49 das Exp $
+# RCS: @(#) $Id: widget,v 1.35 2007/10/17 18:55:05 das Exp $
package require Tcl 8.5
package require Tk 8.5
@@ -548,6 +548,9 @@ proc showCode w {
-highlightthickness 0 -orient horizontal -bd 1
scrollbar $t.yscroll -command [list $t.text yview] \
-highlightthickness 0 -orient vertical -bd 1
+ if {[tk windowingsystem] eq "aqua"} {
+ foreach i [list $t.text $t.xscroll $t.yscroll] {$i configure -bd 0}
+ }
grid $t.text $t.yscroll -sticky news
#grid $t.xscroll