CustomTkinter
CustomTkinter copied to clipboard
Add readonlybackground to CTkComboBox
The background on readonly ComboBoxes won't change off of white. Adding a readonlybackground argument would be helpful.
Highlighting the text:

Do you use the newest customtkinter version?
I do use version 5.0.1 and this issue still occurs.
seems to be a windows problem. On macOS everything works fine for me. If i run the exact same code on windows tho, the issue occurs.
Will it be updated in the future? I love customtkinter but this one little bug is irritating.
A workaround I found was using:
combobox = customtkinter.CTkComboBox()
combobox._entry.configure(readonlybackground="color")
Which configures the tkinter.Entry packaged into the CTkComboBox object.
A workaround I found was using:
combobox = customtkinter.CTkComboBox() combobox._entry.configure(readonlybackground="color")Which configures the
tkinter.Entrypackaged into theCTkComboBoxobject.
Thanks this worked.