Answer the question
In order to leave comments, you need to log in
How to customize widget layout in Tkinter?
Hello. In tkinter, I want to make a frame that will contain the Message widget. I set the frame size, but for some reason it collapses to fit the content of the Message widget. Who knows how to set the size of the frame to not depend on the content of the widget? I will be very grateful.
Answer the question
In order to leave comments, you need to log in
win=Tk()
frame=Frame(bg='#000')
frame.place(width=100,height=100)
win.mainloop()
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question