bold plus and minus button

This commit is contained in:
Mylloon 2021-11-29 13:07:59 +01:00
parent 799339b4c5
commit 7242fc9ba4

View file

@ -347,8 +347,8 @@ class GesMag:
Label(self.tableau, text=element["quantite"]).grid(column=4, row=i, padx=ecart) 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) Label(self.tableau, text=__formatPrix(element["prix"])).grid(column=5, row=i, padx=ecart)
# boutons d'actions pour le panier # 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, "bold"), 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, False)).grid(column=6, row=i, sticky='s', pady=2)
for j in range(0, 8): for j in range(0, 8):
Separator(self.tableau, orient='vertical').grid(column=j, row=i, columnspan=2, sticky="nsw") 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") Separator(self.tableau).grid(column=j, row=i, columnspan=2, sticky="sew")