summaryrefslogtreecommitdiffstats
path: root/demos/demo.tcl
diff options
context:
space:
mode:
authortreectrl <treectrl>2005-07-16 18:07:16 (GMT)
committertreectrl <treectrl>2005-07-16 18:07:16 (GMT)
commit39ec87a8e1182c596fcef8ec90a2008a36fe636d (patch)
treec3355977a22c164eea31f6454aad8b1c8f8e79e3 /demos/demo.tcl
parent1d52a32c3756c493fa6ddcf5ebc2e1346f622271 (diff)
downloadtktreectrl-39ec87a8e1182c596fcef8ec90a2008a36fe636d.zip
tktreectrl-39ec87a8e1182c596fcef8ec90a2008a36fe636d.tar.gz
tktreectrl-39ec87a8e1182c596fcef8ec90a2008a36fe636d.tar.bz2
Set -columnresizemode to realtime on X11.
Use a smaller font in Source Window on X11.
Diffstat (limited to 'demos/demo.tcl')
-rw-r--r--demos/demo.tcl7
1 files changed, 4 insertions, 3 deletions
diff --git a/demos/demo.tcl b/demos/demo.tcl
index 88047a2..0157653 100644
--- a/demos/demo.tcl
+++ b/demos/demo.tcl
@@ -1,6 +1,6 @@
#!/bin/wish84.exe
-# RCS: @(#) $Id: demo.tcl,v 1.36 2005/07/15 01:24:51 treectrl Exp $
+# RCS: @(#) $Id: demo.tcl,v 1.37 2005/07/16 18:07:16 treectrl Exp $
set VERSION 2.0.1
@@ -128,7 +128,8 @@ option add *TreeCtrl.useTheme 1
# Resizing columns can be done in realtime or by displaying a proxy line
switch -- $::thisPlatform {
- macosx {
+ macosx -
+ unix {
option add *TreeCtrl.columnResizeMode realtime
}
windows {
@@ -414,7 +415,7 @@ proc MakeSourceWindow {} {
set font {Geneva 9}
}
unix {
- set font {Courier 16}
+ set font {Courier -12}
}
default {
set font {Courier 9}