summaryrefslogtreecommitdiffstats
path: root/library/ttk/aquaTheme.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'library/ttk/aquaTheme.tcl')
-rw-r--r--library/ttk/aquaTheme.tcl12
1 files changed, 4 insertions, 8 deletions
diff --git a/library/ttk/aquaTheme.tcl b/library/ttk/aquaTheme.tcl
index e8ece15..bf34746 100644
--- a/library/ttk/aquaTheme.tcl
+++ b/library/ttk/aquaTheme.tcl
@@ -1,5 +1,5 @@
#
-# $Id: aquaTheme.tcl,v 1.8 2007/11/18 17:00:28 jenglish Exp $
+# $Id: aquaTheme.tcl,v 1.9 2007/11/18 19:20:26 jenglish Exp $
#
# Aqua theme (OSX native look and feel)
#
@@ -28,8 +28,7 @@ namespace eval ttk::theme::aqua {
#
ttk::style configure . -stipple {}
- ttk::style configure TButton -width -6
- ttk::style configure TMenubutton -anchor w
+ 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}
@@ -54,12 +53,9 @@ namespace eval ttk::theme::aqua {
# Modify the the default Labelframe layout to use generic text element
# instead of Labelframe.text; the latter erases the window background
# (@@@ this still isn't right... want to fill with background pattern)
-
- ttk::style layout TLabelframe {
- Labelframe.border
- text
- }
#
+ ttk::style layout TLabelframe.Label { text }
+
# For Aqua, labelframe labels should appear outside the border,
# with a 14 pixel inset and 4 pixels spacing between border and label
# (ref: Apple Human Interface Guidelines / Controls / Grouping Controls)