summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2004-05-13 23:28:33 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2004-05-13 23:28:33 (GMT)
commit8c77a45120b2bbaa5354a2b6c7f8833c89e489d7 (patch)
treeb8eac637376576f827f9746b3c412a722f4e78c3
parent13e70fa49b33490f764d8115cfe58eeda303a2c8 (diff)
downloadtk-8c77a45120b2bbaa5354a2b6c7f8833c89e489d7.zip
tk-8c77a45120b2bbaa5354a2b6c7f8833c89e489d7.tar.gz
tk-8c77a45120b2bbaa5354a2b6c7f8833c89e489d7.tar.bz2
Shrank the font size of messages in the Unix/X11 [tk_messageBox]
It looks better like this. :^)
-rw-r--r--ChangeLog6
-rw-r--r--library/msgbox.tcl4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 3188910..792daf7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,10 @@
+2004-05-14 Donal K. Fellows <donal.k.fellows@man.ac.uk>
+
+ * library/msgbox.tcl (MessageBox): Shrank the default font size
+ for the message to 14-point; nobody liked 18-point!
+
2004-05-12 Chengye Mao <chengye.geo@yahoo.com>
+
* generic/tkBind.c <HandleEventGenerate>: Modified to fix wish
crach due to incorrectly generate <Destroy> event. This bug was
reported in comp.lang.tcl but not logged.
diff --git a/library/msgbox.tcl b/library/msgbox.tcl
index eb6fc35..a1f2ed1 100644
--- a/library/msgbox.tcl
+++ b/library/msgbox.tcl
@@ -3,7 +3,7 @@
# Implements messageboxes for platforms that do not have native
# messagebox support.
#
-# RCS: @(#) $Id: msgbox.tcl,v 1.24.2.1 2003/03/14 21:30:58 dkf Exp $
+# RCS: @(#) $Id: msgbox.tcl,v 1.24.2.2 2004/05/13 23:28:34 dkf Exp $
#
# Copyright (c) 1994-1997 Sun Microsystems, Inc.
#
@@ -280,7 +280,7 @@ proc ::tk::MessageBox {args} {
|| [string equal [tk windowingsystem] "aqua"]} {
option add *Dialog.msg.font system widgetDefault
} else {
- option add *Dialog.msg.font {Times 18} widgetDefault
+ option add *Dialog.msg.font {Times 14} widgetDefault
}
label $w.msg -anchor nw -justify left -text $data(-message) \