I made a text box inside the graphic window called win with the name text1. I need to add a vertical scroll bar with the name scrollbar to the text1 window, but the bar does not go where it should, but appears in the main win window (Figure 1). If I make the scroll bar with the object not win, a text1, then the bar rises where it should, but does not work correctly - tell me how to fix it. I can not find solutions.
This is a program code with a scrollbar being a win1 object.
from tkinter import* import tkinter win=Tk() win.title('Konvertor') win.minsize(width=600, height=600) win.maxsize(width=600, height=600) label3 = Label(win, text="Результат работы", height=1, font= "Arial 10", bd=1) label3.place(relwidth=0.55, relx=0.7, rely=0.14, anchor="center") scrollbar = Scrollbar(win) scrollbar.pack(side=RIGHT, fill=Y) text1 = Text(win, padx=4) text1.place(relheight=0.7, relwidth=0.55, relx=0.7, rely=0.16, anchor="n", bordermode=OUTSIDE) scrollbar['command'] = text1.yview text1['yscrollcommand'] = scrollbar.set win.mainloop() This is a program code with a scrollbar being a text1 object.
from tkinter import* import tkinter win=Tk() win.title('Konvertor') win.minsize(width=600, height=600) win.maxsize(width=600, height=600) label3 = Label(win, text="Результат работы", height=1, font= "Arial 10", bd=1) label3.place(relwidth=0.55, relx=0.7, rely=0.14, anchor="center") text1 = Text(win, padx=4) text1.place(relheight=0.7, relwidth=0.55, relx=0.7, rely=0.16, anchor="n", bordermode=OUTSIDE) scrollbar = Scrollbar(text1) scrollbar.pack(side=RIGHT, fill=Y) scrollbar['command'] = text1.yview text1['yscrollcommand'] = scrollbar.set win.mainloop() 

textdoes the band appear?) - Twiss