How do you increase the size of the tkinter spinbox arrowheads?
root = Tk()
Rtitle = Frame(root)
valueChanger = Spinbox(Rtitle, from_=0, to=10, wrap = True, width = 0)
valueChanger.pack(side=RIGHT, padx = 5, ipadx = 2, ipady = 5)
Rtitle.pack(side = TOP, fill=BOTH, expand=True)
root.mainloop()
Thanks in advance :)
The arrow buttons are each half the height of the box. Increase the box height by increasing the font size. Minimal complete verifiable example (of the sort people should post when asking questions ;-):
from tkinter import *
from tkinter.font import Font
root = Tk()
spin = Spinbox(root, from_=0, to=9, width=3,
font=Font(family='Helvetica', size=36, weight='bold'))
spin.pack()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With