From 9f653fab1d878ba5801410c06e23c82ae4144801 Mon Sep 17 00:00:00 2001 From: sahil481 Date: Wed, 29 Mar 2023 22:14:43 +0530 Subject: [PATCH] Fixed a bug Fixed #1394 --- customtkinter/windows/widgets/ctk_button.py | 1 + 1 file changed, 1 insertion(+) diff --git a/customtkinter/windows/widgets/ctk_button.py b/customtkinter/windows/widgets/ctk_button.py index d79a944..d08422b 100644 --- a/customtkinter/windows/widgets/ctk_button.py +++ b/customtkinter/windows/widgets/ctk_button.py @@ -436,6 +436,7 @@ class CTkButton(CTkBaseClass): if "anchor" in kwargs: self._anchor = kwargs.pop("anchor") + self._create_grid() require_redraw = True super().configure(require_redraw=require_redraw, **kwargs)