essai de tailles des boutons "width" trop petite au départ pour avoir la même taille partout
This commit is contained in:
parent
9fdc37fffd
commit
d9a195b5ba
@ -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 ():
|
||||
|
Loading…
x
Reference in New Issue
Block a user