diff --git a/GestionDes.py b/GestionDes.py index 69a6d73..1a23ebc 100644 --- a/GestionDes.py +++ b/GestionDes.py @@ -19,8 +19,8 @@ cadreFormatDe.pack(side=tk.TOP, anchor=tk.CENTER, pady=10) DicoBoutons = {} # création d'un Dico pour distingués les boutons for i in [4, 6, 8, 10, 12, 20] : - button = tk.CTkButton(cadreFormatDe, text= f"D{i}", hover=False, width=3) # création d'un bouton - button.pack(side=tk.LEFT, padx=5, pady=5) #expand=True, fill=tk.X, anchor=tk.CENTER + button = tk.CTkButton(cadreFormatDe, text= f"D{i}", hover=False, width=50) # création d'un bouton + button.pack(side=tk.LEFT, padx=1, pady=1) #expand=True, fill=tk.X, anchor=tk.CENTER DicoBoutons[i] = button def clic4 ():