Apr-25-2020, 04:04 AM
My Python script uses Tkinter.
I'm running Python 3.7.
The script creates a large # of text buttons
next to each other.
How do I reduce the margin between the text &
the edge of the button?
Every time I change the font size, it automatically
changes the button size, while keeping the margins.
I've looked at the following, but they didn't help:
https://effbot.org/tkinterbook/button.htm
https://www.tutorialspoint.com/python/tk_button.htm
https://pythonexamples.org/python-tkinte...ange-font/
I'm running Python 3.7.
The script creates a large # of text buttons
next to each other.
How do I reduce the margin between the text &
the edge of the button?
Every time I change the font size, it automatically
changes the button size, while keeping the margins.
I've looked at the following, but they didn't help:
https://effbot.org/tkinterbook/button.htm
https://www.tutorialspoint.com/python/tk_button.htm
https://pythonexamples.org/python-tkinte...ange-font/