Skip to content

Commit

Permalink
Merge pull request TomSchimansky#1399 from Sahil481/customtkinter-sah…
Browse files Browse the repository at this point in the history
…il-contribute

Fix configuring anchor on CTkButton TomSchimansky#1394 TomSchimansky#1393
  • Loading branch information
TomSchimansky authored Jun 19, 2023
2 parents 9bd6d7b + 9f653fa commit 290cafb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions customtkinter/windows/widgets/ctk_button.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,7 @@ def configure(self, require_redraw=False, **kwargs):

if "anchor" in kwargs:
self._anchor = kwargs.pop("anchor")
self._create_grid()
require_redraw = True

super().configure(require_redraw=require_redraw, **kwargs)
Expand Down

0 comments on commit 290cafb

Please sign in to comment.