add some colors
This commit is contained in:
parent
3e8cd44319
commit
3137708eb2
1 changed files with 3 additions and 2 deletions
|
@ -105,8 +105,8 @@ class GUI:
|
||||||
f"à la ligne {error.line_number}, "
|
f"à la ligne {error.line_number}, "
|
||||||
f"caractère {error.column_number}.",
|
f"caractère {error.column_number}.",
|
||||||
borderwidth=0,
|
borderwidth=0,
|
||||||
justify="left",
|
bg="SandyBrown",
|
||||||
anchor="w",
|
activebackground="Goldenrod",
|
||||||
command=lambda: self._show_info(
|
command=lambda: self._show_info(
|
||||||
error.warning_message, error.warning_content
|
error.warning_message, error.warning_content
|
||||||
),
|
),
|
||||||
|
@ -115,6 +115,7 @@ class GUI:
|
||||||
else:
|
else:
|
||||||
Label(
|
Label(
|
||||||
self.parent,
|
self.parent,
|
||||||
|
bg="MediumSpringGreen",
|
||||||
text=f"Aucun avertissement trouvé dans {file}.",
|
text=f"Aucun avertissement trouvé dans {file}.",
|
||||||
).grid(column=0, row=idx)
|
).grid(column=0, row=idx)
|
||||||
idx += 1
|
idx += 1
|
||||||
|
|
Reference in a new issue