The width option doesn't work.
Here's my code:
b = Button(tkt, height=1, width=1, text='J', command=tkt.destroy, bg='#DEDEFF', fg="green")
Earlier in my script, I put:
# define font
myFont = font.Font(family='Helvetica', size=20, weight='bold')
The problem is that when I change the font size in myFont,
it keeps adjusting all the margins in the Button function.
I'll try the "grid" option later today.
Thanks, everyone, for the tips.
Actually, the width margins are ok.
It's the height margins which are an issue.
Using the grid didn't work.
Here's my code:
b = Button(tkt, height=1, width=1, text='J', command=tkt.destroy, bg='#DEDEFF', fg="green")
Earlier in my script, I put:
# define font
myFont = font.Font(family='Helvetica', size=20, weight='bold')
The problem is that when I change the font size in myFont,
it keeps adjusting all the margins in the Button function.
I'll try the "grid" option later today.
Thanks, everyone, for the tips.
Actually, the width margins are ok.
It's the height margins which are an issue.
Using the grid didn't work.