summaryrefslogtreecommitdiffstats
path: root/library/ttk/aquaTheme.tcl
diff options
context:
space:
mode:
authorjenglish@flightlab.com <jenglish>2007-10-22 03:35:13 (GMT)
committerjenglish@flightlab.com <jenglish>2007-10-22 03:35:13 (GMT)
commit5dd5b8b21d562daa1126454d17cddbb7d54c8529 (patch)
tree301564bc68d0f6dfd5ed9d80ff06989e16c9d418 /library/ttk/aquaTheme.tcl
parent56c07620c199cba94a119eda37c04cf93daef6b9 (diff)
downloadtk-5dd5b8b21d562daa1126454d17cddbb7d54c8529.zip
tk-5dd5b8b21d562daa1126454d17cddbb7d54c8529.tar.gz
tk-5dd5b8b21d562daa1126454d17cddbb7d54c8529.tar.bz2
* library/ttk/combobox.tcl: ttk::combobox overhaul;
fixes [#1814778, #1780286, #1609168, #1349586] * library/ttk/aquaTheme.tcl: Factored out aqua-specific combobox -postposition adjustments. * generic/ttk/ttkTrack.c: Detect [grab]s and unpress pressed element; combobox workaround no longer needed.
Diffstat (limited to 'library/ttk/aquaTheme.tcl')
-rw-r--r--library/ttk/aquaTheme.tcl8
1 files changed, 7 insertions, 1 deletions
diff --git a/library/ttk/aquaTheme.tcl b/library/ttk/aquaTheme.tcl
index 1c1994c..834136d 100644
--- a/library/ttk/aquaTheme.tcl
+++ b/library/ttk/aquaTheme.tcl
@@ -1,5 +1,5 @@
#
-# $Id: aquaTheme.tcl,v 1.4 2007/10/19 01:25:12 jenglish Exp $
+# $Id: aquaTheme.tcl,v 1.5 2007/10/22 03:35:13 jenglish Exp $
#
# Aqua theme (OSX native look and feel)
#
@@ -35,6 +35,12 @@ namespace eval ttk::theme::aqua {
ttk::style configure TNotebook -tabposition n -padding {20 12}
ttk::style configure TNotebook.Tab -padding {10 2 10 2}
+
+ # Adjust combobox post position to ensure the box is
+ # directly under 'entry square'
+ #
+ ttk::style configure TCombobox -postoffset {3 -2 -6 0}
+
# Treeview:
ttk::style configure Treeview -rowheight 18
ttk::style configure Heading -font TkHeadingFont