Я пытаюсь сделать простое меню tkinter, которое я хочу, чтобы это выглядело так
...................
.Memo Name:[txtbox].
.Open Create . <- 2 buttons
.list of memos [] .
.list of memos s .
.list of memos c .
.list of memos r .
.list of memos o .
.list of memos l .
.list of memos l .
.list of memos b .
.list of memos a .
.list of memos r .
.list of memos [] .
....................
, но это выглядит так: https://ibb.co/h8pHrKN
Я не очень старался, так какЯ относительно новичок в tkinter и не знаю много
top = Frame(window).grid(row=0,column=0,sticky=W)
bottom = Frame(window)
bottom.grid(row=1,column=0,sticky=S)
memo_name_label = Label(top, text = "Memo name:", bg = "white").grid(row=0,column=0,sticky=W)
memo_name_txtbox = Entry(top, bg = "white").grid(row=0,column=1,sticky=W)
open_button = Button(top, text="Open",command = hi).grid(row=1,column=0,sticky=W+E)
create_button = Button(top, text="Create",command = hi).grid(row=1,column=1,sticky=W+E)
list_memos = Listbox(bottom,width = 50,height = 5)
list_memos.grid(row=0,column=0,sticky=W)
for i in memos:
list_memos.insert(END, i[0])
scrollbar = Scrollbar(bottom, orient="vertical")
scrollbar.grid(row=0,column=1,sticky=N+S)
scrollbar.config(command=list_memos.yview)
list_memos.config(yscrollcommand=scrollbar.set)
window.mainloop()