Adjusting text in Tkinter | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Adjusting text in Tkinter

Im currently working on my first program, a very simple application that displays a random element from a list of strings. The only problem Im having at the moment is that when the text is larger than the window frame it gets cut off. Is there a code I could use in order to tell the program that when the text is larger than the frame it should continue the text a line below? Thanks

16th Jan 2019, 7:01 PM
Germán Chrystan
Germán Chrystan - avatar
1 Answer
0
the t.config line returned an error. I do not know if Text() is equal to a Label or to a string. Tried both and it didnt work
16th Jan 2019, 8:53 PM
Germán Chrystan
Germán Chrystan - avatar