summaryrefslogtreecommitdiffstats
path: root/library/ttk
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2018-01-01 16:47:04 (GMT)
committerfvogel <fvogelnew1@free.fr>2018-01-01 16:47:04 (GMT)
commitd30321934961095e0d2f1bf0e791ab7524791e87 (patch)
treea2417301f1893df35262a8d6c0db2461ea11486e /library/ttk
parent481d3a667a560d8dc3d5ec9a0921202e1fe48238 (diff)
downloadtk-d30321934961095e0d2f1bf0e791ab7524791e87.zip
tk-d30321934961095e0d2f1bf0e791ab7524791e87.tar.gz
tk-d30321934961095e0d2f1bf0e791ab7524791e87.tar.bz2
Propagate fix to the 'default' theme
Diffstat (limited to 'library/ttk')
-rw-r--r--library/ttk/defaults.tcl8
1 files changed, 6 insertions, 2 deletions
diff --git a/library/ttk/defaults.tcl b/library/ttk/defaults.tcl
index 56e2176..4c1753d 100644
--- a/library/ttk/defaults.tcl
+++ b/library/ttk/defaults.tcl
@@ -110,8 +110,12 @@ namespace eval ttk::theme::default {
-background $colors(-window) \
-foreground $colors(-text) ;
ttk::style map Treeview \
- -background [list selected $colors(-selectbg)] \
- -foreground [list selected $colors(-selectfg)] ;
+ -background [list disabled $colors(-frame)\
+ {!disabled !selected} $colors(-window) \
+ selected $colors(-selectbg)] \
+ -foreground [list disabled $colors(-disabledfg) \
+ {!disabled !selected} black \
+ selected $colors(-selectfg)]
# Combobox popdown frame
ttk::style layout ComboboxPopdownFrame {