I have a tkinter listbox initialised as follows:
self.serives_listbox = tk.Listbox(parent, font=("TkTextFont", 20), exportselection=False, width=30, height = 15)
self.serives_listbox.grid(column=0, row=1, padx=5, pady=10)
I then add items to the listbox like this:
for key, value in service_list[str(self.category_combox.get())].items():
self.serives_listbox.insert(tk.END, str(key))
I need a way to increase the spacing between the rows of the lisbox
Thank you
There is no way to change the spacing between items in a tkinter listbox, other than to insert blank items.
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