diff options
author | csaba <csaba> | 2023-08-29 09:50:33 (GMT) |
---|---|---|
committer | csaba <csaba> | 2023-08-29 09:50:33 (GMT) |
commit | 984415d72aa6398051b09d521697defa59fd3841 (patch) | |
tree | 28a683c9f6438026263611d37de8ac7ebb3c98a3 /win | |
parent | be1ae7a67e2a1f4c587f89eed4bee3e1d72dc2f1 (diff) | |
download | tk-984415d72aa6398051b09d521697defa59fd3841.zip tk-984415d72aa6398051b09d521697defa59fd3841.tar.gz tk-984415d72aa6398051b09d521697defa59fd3841.tar.bz2 |
Keep the variables tk::scalingPct and tk::svgFmt in sync with [tk scaling].
Diffstat (limited to 'win')
-rw-r--r-- | win/tkWinButton.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tkWinButton.c b/win/tkWinButton.c index e9e7e64..9734f59 100644 --- a/win/tkWinButton.c +++ b/win/tkWinButton.c @@ -418,13 +418,13 @@ TkpDrawIndicator( } /* - * Check whether there is an SVG image for the indicator's + * Check whether there is an SVG image of this size for the indicator's * type (0 = checkbtn, 1 = radiobtn) and these color strings */ snprintf(imgName, sizeof(imgName), - "::tk::icons::indicator%d_%s_%s_%s_%s_%s_%s", - butPtr->type == TYPE_RADIO_BUTTON, + "::tk::icons::indicator%d_%d_%s_%s_%s_%s_%s_%s", + dim, butPtr->type == TYPE_RADIO_BUTTON, topOuterColorStr, btmOuterColorStr, topInnerColorStr, btmInnerColorStr, interiorColorStr, (butPtr->flags & (SELECTED|TRISTATED)) ? checkColorStr : "XXXXXX"); |