From 7242fc9ba45b3a4a7272d25552cb73153503428b Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 29 Nov 2021 13:07:59 +0100 Subject: [PATCH] bold plus and minus button --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 3846f15..1bddb9d 100644 --- a/main.py +++ b/main.py @@ -347,8 +347,8 @@ class GesMag: Label(self.tableau, text=element["quantite"]).grid(column=4, row=i, padx=ecart) Label(self.tableau, text=__formatPrix(element["prix"])).grid(column=5, row=i, padx=ecart) # boutons d'actions pour le panier - Button(self.tableau, text='+', font=("Arial", 7), command=lambda e = element: ___miseAJourPanier(e, True)).grid(column=6, row=i, sticky='n', padx=ecart) - Button(self.tableau, text='−', font=("Arial", 7), command=lambda e = element: ___miseAJourPanier(e, False)).grid(column=6, row=i, sticky='s', pady=2) + Button(self.tableau, text='+', font=("Arial", 7, "bold"), command=lambda e = element: ___miseAJourPanier(e, True)).grid(column=6, row=i, sticky='n', padx=ecart) + Button(self.tableau, text='−', font=("Arial", 7, "bold"), command=lambda e = element: ___miseAJourPanier(e, False)).grid(column=6, row=i, sticky='s', pady=2) for j in range(0, 8): Separator(self.tableau, orient='vertical').grid(column=j, row=i, columnspan=2, sticky="nsw") Separator(self.tableau).grid(column=j, row=i, columnspan=2, sticky="sew")