From 799339b4c5af05528339bdd3cd3371f93297f39a Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 29 Nov 2021 13:07:33 +0100 Subject: [PATCH] Add little bottom-padding for the minus button --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 303af18..3846f15 100644 --- a/main.py +++ b/main.py @@ -348,7 +348,7 @@ class GesMag: 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') + 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): 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")