Reputation:
I'm just wondering how to make a listbox bigger than the original size it enters as.
It's probably simple but I cant find how to do it.
My code is below:
frame_1 = Frame(myGUI)
frame_1.place(x=75, y=300)
scrollbar = Scrollbar(frame_1)
scrollbar.pack(side=RIGHT, fill=Y)
listbox_1 = Listbox(frame_1, yscrollcommand=scrollbar.set)
listbox_1.pack()
scrollbar.config(command=listbox_1.yview)
Upvotes: 0
Views: 2347
Reputation: 9
Or just when you are setting up the list the first time you can set the height and width then.
Upvotes: 0