From f9c9dec7078c1fc97ddb3442be2bed64fb8ad60d Mon Sep 17 00:00:00 2001 From: LilbabxJJ-1 <99676249+LilbabxJJ-1@users.noreply.github.com> Date: Sun, 23 Oct 2022 23:30:02 -0500 Subject: [PATCH] Added "text_color" to the textbox configure method --- customtkinter/widgets/ctk_textbox.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/customtkinter/widgets/ctk_textbox.py b/customtkinter/widgets/ctk_textbox.py index bad0d35..9d1df0a 100644 --- a/customtkinter/widgets/ctk_textbox.py +++ b/customtkinter/widgets/ctk_textbox.py @@ -142,6 +142,10 @@ class CTkTextbox(CTkBaseClass): for child in self.winfo_children(): if isinstance(child, CTkBaseClass): child.configure(bg_color=self.fg_color) + + if "text_color" in kwargs: + self.text_color = kwargs.pop("text_color") + require_redraw = True if "border_color" in kwargs: self.border_color = kwargs.pop("border_color")