Skip to content

Commit

Permalink
Fix [a69fd7cdc7]: File clamTheme.tcl misses code related to the -indi…
Browse files Browse the repository at this point in the history
…catorforeground option.
  • Loading branch information
csaba committed Nov 28, 2024
2 parents ca0d153 + efbf465 commit 65ef583
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions library/ttk/clamTheme.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -72,22 +72,28 @@ namespace eval ttk::theme::clam {

ttk::style configure TCheckbutton \
-indicatorbackground "#ffffff" \
-indicatorforeground "#000000" \
-indicatormargin {0.75p 0.75p 3p 0.75p} \
-padding 1.5p
ttk::style configure TRadiobutton \
-indicatorbackground "#ffffff" \
-indicatorforeground "#000000" \
-indicatormargin {0.75p 0.75p 3p 0.75p} \
-padding 1.5p
ttk::style map TCheckbutton -indicatorbackground \
[list pressed $colors(-frame) \
{!disabled alternate} $colors(-altindicator) \
{disabled alternate} $colors(-disabledaltindicator) \
disabled $colors(-frame)]
ttk::style map TRadiobutton -indicatorbackground \
[list pressed $colors(-frame) \
{!disabled alternate} $colors(-altindicator) \
{disabled alternate} $colors(-disabledaltindicator) \
disabled $colors(-frame)]
ttk::style map TCheckbutton \
-indicatorbackground [list \
pressed $colors(-frame) \
{alternate disabled} $colors(-disabledaltindicator) \
alternate $colors(-altindicator) \
disabled $colors(-frame)] \
-indicatorforeground [list disabled $colors(-disabledfg)]
ttk::style map TRadiobutton \
-indicatorbackground [list \
pressed $colors(-frame) \
{alternate disabled} $colors(-disabledaltindicator) \
alternate $colors(-altindicator) \
disabled $colors(-frame)] \
-indicatorforeground [list disabled $colors(-disabledfg)]

ttk::style configure TMenubutton \
-width -11 -arrowsize 3.75p -arrowpadding 2.25p -padding 3.75p \
Expand Down

0 comments on commit 65ef583

Please sign in to comment.