add some colors

This commit is contained in:
Mylloon 2023-06-01 13:02:51 +02:00
parent 3e8cd44319
commit 3137708eb2
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -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