diff options
-rw-r--r-- | library/ttk/defaults.tcl | 8 |
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 { |