Add little bottom-padding for the minus button

This commit is contained in:
Mylloon 2021-11-29 13:07:33 +01:00
parent 513a0599e0
commit 799339b4c5

View file

@ -348,7 +348,7 @@ class GesMag:
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), 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') Button(self.tableau, text='', font=("Arial", 7), 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")