Merge pull request #1399 from Sahil481/customtkinter-sahil-contribute

Fix configuring anchor on CTkButton #1394 #1393
This commit is contained in:
Tom Schimansky 2023-06-19 13:19:50 +02:00 committed by GitHub
commit 290cafbc39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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)