summaryrefslogtreecommitdiffstats
path: root/library/ttk/xpTheme.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'library/ttk/xpTheme.tcl')
-rw-r--r--library/ttk/xpTheme.tcl10
1 files changed, 10 insertions, 0 deletions
diff --git a/library/ttk/xpTheme.tcl b/library/ttk/xpTheme.tcl
index 187ce0b..a174bfc 100644
--- a/library/ttk/xpTheme.tcl
+++ b/library/ttk/xpTheme.tcl
@@ -61,5 +61,15 @@ namespace eval ttk::theme::xpnative {
ttk::style configure Toolbutton -padding {4 4}
+ # Treeview:
+ ttk::style configure Heading -font TkHeadingFont -relief raised
+ ttk::style configure Treeview -background SystemWindow
+ ttk::style map Treeview \
+ -background [list disabled SystemButtonFace \
+ {!disabled !selected} SystemWindow \
+ selected SystemHighlight] \
+ -foreground [list disabled SystemGrayText \
+ {!disabled !selected} SystemWindowText \
+ selected SystemHighlightText];
}
}