Added "text_color" to the textbox configure method

This commit is contained in:
LilbabxJJ-1 2022-10-23 23:30:02 -05:00 committed by GitHub
parent 06332a1061
commit f9c9dec707
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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