summaryrefslogtreecommitdiffstats
path: root/library/ttk/altTheme.tcl
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2016-09-25 19:20:24 (GMT)
committerfvogel <fvogelnew1@free.fr>2016-09-25 19:20:24 (GMT)
commite05a73a1dc281d212fc7f4f6b35e0bc5f4204d9c (patch)
tree8d049405dc06ff0d34571dcba6da598cc9d58992 /library/ttk/altTheme.tcl
parenteb9183790f07065eb2210b29d6fc9276e49481e1 (diff)
downloadtk-e05a73a1dc281d212fc7f4f6b35e0bc5f4204d9c.zip
tk-e05a73a1dc281d212fc7f4f6b35e0bc5f4204d9c.tar.gz
tk-e05a73a1dc281d212fc7f4f6b35e0bc5f4204d9c.tar.bz2
Fixed [3217462fff] for the alt and classic themes
Diffstat (limited to 'library/ttk/altTheme.tcl')
-rw-r--r--library/ttk/altTheme.tcl9
1 files changed, 7 insertions, 2 deletions
diff --git a/library/ttk/altTheme.tcl b/library/ttk/altTheme.tcl
index d57227c..e792539 100644
--- a/library/ttk/altTheme.tcl
+++ b/library/ttk/altTheme.tcl
@@ -14,6 +14,7 @@ namespace eval ttk::theme::alt {
-disabledfg "#a3a3a3"
-selectbg "#4a6984"
-selectfg "#ffffff"
+ -altindicator "#aaaaaa"
}
ttk::style theme settings alt {
@@ -46,9 +47,13 @@ namespace eval ttk::theme::alt {
ttk::style configure TCheckbutton -indicatorcolor "#ffffff" -padding 2
ttk::style configure TRadiobutton -indicatorcolor "#ffffff" -padding 2
ttk::style map TCheckbutton -indicatorcolor \
- [list disabled $colors(-frame) pressed $colors(-frame)]
+ [list pressed $colors(-frame) \
+ alternate $colors(-altindicator) \
+ disabled $colors(-frame)]
ttk::style map TRadiobutton -indicatorcolor \
- [list disabled $colors(-frame) pressed $colors(-frame)]
+ [list pressed $colors(-frame) \
+ alternate $colors(-altindicator) \
+ disabled $colors(-frame)]
ttk::style configure TMenubutton \
-width -11 -padding "3 3" -relief raised