Skip to content

Commit

Permalink
fix: fix a bug where the parameter through of the widget SpinBox
Browse files Browse the repository at this point in the history
…is passed incorrectly
  • Loading branch information
Xiaokang2022 committed Nov 28, 2024
1 parent b083bc9 commit ec1aa00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tkintertools/standard/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -1093,7 +1093,7 @@ def __init__(
InputBox(
self, (0, 0), size, family=family, fontsize=fontsize, weight=weight, slant=slant,
underline=underline, overstrike=overstrike, align=align, placeholder=placeholder,
show=show, limit=limit, image=image, through=through, animation=animation)
show=show, limit=limit, image=image, animation=animation, through=True)
h = size[1]/2 - 6
w = h/configs.Constant.GOLDEN_RATIO if configs.Env.system == "Windows10" else 2*h
Button(self, (size[0]-w-4, 4), (w, h), text="▲", fontsize=14, through=True,
Expand Down

0 comments on commit ec1aa00

Please sign in to comment.