mirror of
https://github.com/TomSchimansky/CustomTkinter.git
synced 2023-08-10 21:13:13 +03:00
fix readonly background for combobox #983
This commit is contained in:
parent
fac2fa5e68
commit
79d5da439b
@ -201,6 +201,7 @@ class CTkComboBox(CTkBaseClass):
|
|||||||
|
|
||||||
self._entry.configure(bg=self._apply_appearance_mode(self._fg_color),
|
self._entry.configure(bg=self._apply_appearance_mode(self._fg_color),
|
||||||
fg=self._apply_appearance_mode(self._text_color),
|
fg=self._apply_appearance_mode(self._text_color),
|
||||||
|
readonlybackground=self._apply_appearance_mode(self._fg_color),
|
||||||
disabledbackground=self._apply_appearance_mode(self._fg_color),
|
disabledbackground=self._apply_appearance_mode(self._fg_color),
|
||||||
disabledforeground=self._apply_appearance_mode(self._text_color_disabled),
|
disabledforeground=self._apply_appearance_mode(self._text_color_disabled),
|
||||||
highlightcolor=self._apply_appearance_mode(self._fg_color),
|
highlightcolor=self._apply_appearance_mode(self._fg_color),
|
||||||
|
@ -42,7 +42,7 @@ optionmenu_1.set("CTkOptionMenu")
|
|||||||
|
|
||||||
combobox_1 = customtkinter.CTkComboBox(frame_1, values=["Option 1", "Option 2", "Option 42 long long long..."])
|
combobox_1 = customtkinter.CTkComboBox(frame_1, values=["Option 1", "Option 2", "Option 42 long long long..."])
|
||||||
combobox_1.pack(pady=10, padx=10)
|
combobox_1.pack(pady=10, padx=10)
|
||||||
optionmenu_1.set("CTkComboBox")
|
combobox_1.set("CTkComboBox")
|
||||||
|
|
||||||
checkbox_1 = customtkinter.CTkCheckBox(master=frame_1)
|
checkbox_1 = customtkinter.CTkCheckBox(master=frame_1)
|
||||||
checkbox_1.pack(pady=10, padx=10)
|
checkbox_1.pack(pady=10, padx=10)
|
||||||
|
Loading…
Reference in New Issue
Block a user