summaryrefslogtreecommitdiffstats
path: root/library/ttk
diff options
context:
space:
mode:
authordas <das>2009-07-15 21:50:40 (GMT)
committerdas <das>2009-07-15 21:50:40 (GMT)
commitebfe03eb0a8d627c9967d64a70f41571e3c07fa1 (patch)
treef17c6ab045e9bdcdab742b278769bd44c24146fd /library/ttk
parent23c93fc468b9ccb7b9d9845ab87c1d4005043ab9 (diff)
downloadtk-ebfe03eb0a8d627c9967d64a70f41571e3c07fa1.zip
tk-ebfe03eb0a8d627c9967d64a70f41571e3c07fa1.tar.gz
tk-ebfe03eb0a8d627c9967d64a70f41571e3c07fa1.tar.bz2
* macosx/ttkMacOSXTheme.c: Update notebook tab appearance to
* library/ttk/aquaTheme.tcl: modern L&F; adjust tab & notebook padding and tabmargins; correct appearance of selected tree header; add support for native tree header sort arrows via user1 state. [Patch 2819620]
Diffstat (limited to 'library/ttk')
-rw-r--r--library/ttk/aquaTheme.tcl9
1 files changed, 5 insertions, 4 deletions
diff --git a/library/ttk/aquaTheme.tcl b/library/ttk/aquaTheme.tcl
index 85dcb04..c457ab2 100644
--- a/library/ttk/aquaTheme.tcl
+++ b/library/ttk/aquaTheme.tcl
@@ -1,5 +1,5 @@
#
-# $Id: aquaTheme.tcl,v 1.13 2008/07/22 17:01:46 das Exp $
+# $Id: aquaTheme.tcl,v 1.14 2009/07/15 21:50:40 das Exp $
#
# Aqua theme (OSX native look and feel)
#
@@ -31,9 +31,10 @@ namespace eval ttk::theme::aqua {
ttk::style configure TButton -anchor center -width -6
ttk::style configure Toolbutton -padding 4
- # See Apple HIG figs 14-63, 14-65
- ttk::style configure TNotebook -tabposition n -padding {20 12}
- ttk::style configure TNotebook.Tab -padding {10 2 10 2}
+
+ ttk::style configure TNotebook -tabmargins {10 0} -tabposition n
+ ttk::style configure TNotebook -padding {18 8 18 17}
+ ttk::style configure TNotebook.Tab -padding {12 3 12 2}
# Combobox:
ttk::style configure TCombobox -postoffset {5 -2 -10 0}