fix: 彻底消除下拉框 focus 状态下的蓝色高亮背景
This commit is contained in:
+2
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user