From ec1aa00ca66f3f4c06aac829ba3bc23b46add6e5 Mon Sep 17 00:00:00 2001 From: Xiaokang2022 <2951256653@qq.com> Date: Thu, 28 Nov 2024 08:39:22 +0800 Subject: [PATCH] fix: fix a bug where the parameter `through` of the widget `SpinBox` is passed incorrectly --- tkintertools/standard/widgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tkintertools/standard/widgets.py b/tkintertools/standard/widgets.py index 9d6ad00d..b4eafe1e 100644 --- a/tkintertools/standard/widgets.py +++ b/tkintertools/standard/widgets.py @@ -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,