CustomTkinter
CustomTkinter copied to clipboard
CTkComboBox background became white when state is "readonly"
Thank you for creating this lib.
The background color of CTkComboBox() became white when the state is setted to "readonly" customtkinter version: 4.6.3
I found a solution to this issue, there's a readonlybackground
parameter in tk.Entry()
and you can use configure()
to change to color of the entry.
Example code:
self.comboBox.entry.configure(readonlybackground="#00ff00")
Solution from: https://stackoverflow.com/questions/28973756/tk-entry-background-color-change-in-readonly-mode
Should be resolved with version 5.0.0.
5.0.3 still has the bug