mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
bpo-36176: Fix IDLE autocomplete & calltip popup colors. (#12262)
Prevent conflicts with Linux dark themes (and slightly darken calltip background).
This commit is contained in:
parent
0e1f1f0105
commit
491ef53c15
4 changed files with 10 additions and 3 deletions
|
@ -189,7 +189,7 @@ class AutoCompleteWindow:
|
|||
pass
|
||||
self.scrollbar = scrollbar = Scrollbar(acw, orient=VERTICAL)
|
||||
self.listbox = listbox = Listbox(acw, yscrollcommand=scrollbar.set,
|
||||
exportselection=False, bg="white")
|
||||
exportselection=False)
|
||||
for item in self.completions:
|
||||
listbox.insert(END, item)
|
||||
self.origselforeground = listbox.cget("selectforeground")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue