From d30321934961095e0d2f1bf0e791ab7524791e87 Mon Sep 17 00:00:00 2001 From: fvogel Date: Mon, 1 Jan 2018 16:47:04 +0000 Subject: Propagate fix to the 'default' theme --- library/ttk/defaults.tcl | 8 ++++++-- 1 file 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 { -- cgit v0.12