diff --git a/customtkinter/widgets/ctk_frame.py b/customtkinter/widgets/ctk_frame.py index fccbcce..7f726e6 100644 --- a/customtkinter/widgets/ctk_frame.py +++ b/customtkinter/widgets/ctk_frame.py @@ -115,11 +115,21 @@ class CTkFrame(CTkBaseClass): del kwargs["bg_color"] + if "border_color" in kwargs: + self.border_color = kwargs["border_color"] + require_redraw = True + del kwargs["border_color"] + if "corner_radius" in kwargs: self.corner_radius = kwargs["corner_radius"] require_redraw = True del kwargs["corner_radius"] + if "border_width" in kwargs: + self.border_width = kwargs["border_width"] + require_redraw = True + del kwargs["border_width"] + super().configure(*args, **kwargs) if require_redraw: