summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das>2005-06-23 20:15:20 (GMT)
committerdas <das>2005-06-23 20:15:20 (GMT)
commitc665005339dbccc2b3ddcbc3310278d0f1fdf0f5 (patch)
tree69d530a2ee8b338d800fe732601e0ffdc9305a19
parente73ef55a5933bee7c2841a1c87854417d8da71ff (diff)
downloadtk-c665005339dbccc2b3ddcbc3310278d0f1fdf0f5.zip
tk-c665005339dbccc2b3ddcbc3310278d0f1fdf0f5.tar.gz
tk-c665005339dbccc2b3ddcbc3310278d0f1fdf0f5.tar.bz2
* macosx/tkMacOSXDefault.h: change ENTRY_BORDER defaults to from 5 to 2
to make default entry widgets in TkAqua look like in other aqua apps (and have same border dimensions as other platforms). [Bug 1176610]
-rw-r--r--ChangeLog4
-rw-r--r--macosx/tkMacOSXDefault.h8
2 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 31d12fe..27762b0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,10 @@
*** 8.4.11 TAGGED FOR RELEASE ***
+ * macosx/tkMacOSXDefault.h: change ENTRY_BORDER defaults to from 5 to 2
+ to make default entry widgets in TkAqua look like in other aqua apps
+ (and have same border dimensions as other platforms). [Bug 1176610]
+
* unix/Makefile.in (install-private-headers): rewrite tkPort.h when
installing private headers to remove ../unix relative #include path to
tkUnixPort.h (which is incorrect at the installed location).
diff --git a/macosx/tkMacOSXDefault.h b/macosx/tkMacOSXDefault.h
index ccfca08..a04442f 100644
--- a/macosx/tkMacOSXDefault.h
+++ b/macosx/tkMacOSXDefault.h
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMacOSXDefault.h,v 1.2.2.2 2005/03/25 04:34:16 wolfsuit Exp $
+ * RCS: @(#) $Id: tkMacOSXDefault.h,v 1.2.2.3 2005/06/23 20:15:22 das Exp $
*/
#ifndef _TKMACDEFAULT
@@ -139,19 +139,19 @@
*/
/*
- * I test the following two values in TkpDrawEntryBorderAndFocus
+ * I test the following three values in TkpDrawEntryBorderAndFocus
* to determine whether to use the native entry widget. So if
* you change the defaults to be different from these, then you
* won't get the native widget by default.
*/
#define MAC_OSX_FOCUS_WIDTH 3
-#define MAC_OSX_ENTRY_BORDER 5
+#define MAC_OSX_ENTRY_BORDER 2
#define MAC_OSX_ENTRY_RELEIF TK_RELIEF_SUNKEN
#define DEF_ENTRY_BG_COLOR NORMAL_BG
#define DEF_ENTRY_BG_MONO WHITE
-#define DEF_ENTRY_BORDER_WIDTH "5"
+#define DEF_ENTRY_BORDER_WIDTH "2"
#define DEF_ENTRY_CURSOR "xterm"
#define DEF_ENTRY_DISABLED_BG_COLOR NORMAL_BG
#define DEF_ENTRY_DISABLED_BG_MONO WHITE