summaryrefslogtreecommitdiffstats
path: root/library/ttk
diff options
context:
space:
mode:
authorculler <culler>2019-08-16 17:14:20 (GMT)
committerculler <culler>2019-08-16 17:14:20 (GMT)
commit558b85260be31fc7d347b9ec715e051631f00755 (patch)
tree1d5c4f533e3d8b7c6ee303f47f33d9c5c7d92856 /library/ttk
parent4875d4135079ccec5bf1e4e60a5b6a835dbc8602 (diff)
downloadtk-558b85260be31fc7d347b9ec715e051631f00755.zip
tk-558b85260be31fc7d347b9ec715e051631f00755.tar.gz
tk-558b85260be31fc7d347b9ec715e051631f00755.tar.bz2
Fix [d6a12763e6] and [a9b78a8718]: buttons with -default active have incorrect
appearance.
Diffstat (limited to 'library/ttk')
-rw-r--r--library/ttk/aquaTheme.tcl6
1 files changed, 5 insertions, 1 deletions
diff --git a/library/ttk/aquaTheme.tcl b/library/ttk/aquaTheme.tcl
index 92689d8..83fa16f 100644
--- a/library/ttk/aquaTheme.tcl
+++ b/library/ttk/aquaTheme.tcl
@@ -26,8 +26,12 @@ namespace eval ttk::theme::aqua {
!focus systemSelectedTextColor}
# Button
- ttk::style configure TButton -anchor center -width -6\
+ ttk::style configure TButton -anchor center -width -6 \
-foreground systemControlTextColor
+ ttk::style map TButton \
+ -foreground {
+ pressed white
+ {alternate !pressed !background} white}
ttk::style configure TMenubutton -anchor center -padding {2 0 0 2}
ttk::style configure Toolbutton -anchor center