fix: 彻底消除下拉框 focus 状态下的蓝色高亮背景
This commit is contained in:
+2
-2
@@ -106,8 +106,8 @@ class BatchTableExtractorApp:
|
|||||||
style = ttk.Style()
|
style = ttk.Style()
|
||||||
style.map('TCombobox',
|
style.map('TCombobox',
|
||||||
fieldbackground=[('readonly', 'white')],
|
fieldbackground=[('readonly', 'white')],
|
||||||
selectbackground=[('readonly', 'white')],
|
selectbackground=[('readonly', 'focus', 'white'), ('readonly', 'white')],
|
||||||
selectforeground=[('readonly', 'black')])
|
selectforeground=[('readonly', 'focus', 'black'), ('readonly', 'black')])
|
||||||
|
|
||||||
frame = ttk.Frame(self.root, padding="15")
|
frame = ttk.Frame(self.root, padding="15")
|
||||||
frame.pack(fill=tk.BOTH, expand=True)
|
frame.pack(fill=tk.BOTH, expand=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user