fix: 彻底消除下拉框 focus 状态下的蓝色高亮背景

This commit is contained in:
HONOR
2026-09-16 13:46:41 +08:00
parent 2dcd40cf6e
commit c07f958d40
+2 -2
View File
@@ -106,8 +106,8 @@ class BatchTableExtractorApp:
style = ttk.Style()
style.map('TCombobox',
fieldbackground=[('readonly', 'white')],
selectbackground=[('readonly', 'white')],
selectforeground=[('readonly', 'black')])
selectbackground=[('readonly', 'focus', 'white'), ('readonly', 'white')],
selectforeground=[('readonly', 'focus', 'black'), ('readonly', 'black')])
frame = ttk.Frame(self.root, padding="15")
frame.pack(fill=tk.BOTH, expand=True)