summaryrefslogtreecommitdiffstats
path: root/library/ttk/classicTheme.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'library/ttk/classicTheme.tcl')
-rw-r--r--library/ttk/classicTheme.tcl8
1 files changed, 6 insertions, 2 deletions
diff --git a/library/ttk/classicTheme.tcl b/library/ttk/classicTheme.tcl
index 3cb2b18..fefdb99 100644
--- a/library/ttk/classicTheme.tcl
+++ b/library/ttk/classicTheme.tcl
@@ -98,8 +98,12 @@ namespace eval ttk::theme::classic {
ttk::style configure Heading -font TkHeadingFont -relief raised
ttk::style configure Treeview -background $colors(-window)
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)]
#
# Toolbar buttons: