[Tkinter-discuss] Pack labels

AI 7 asadimran220 at gmail.com
Sun Jan 15 15:49:00 EST 2023

Hi, I am creating a booking system where one of the functions is to
retrieve bookings from a text file and display to the user. The text file
stores  each booking on a new line with all its fields. A loop is made
through the array when the text file is read and each line (each index of
the array) creates a label with the text being the line and packs this
label. When there are many records stored in the text file, as many labels
are created which then go below the screen and are unreadable. There is no
scroll bar to view the labels below the screen or the ability to zoom out.
Can anyone guide me on how to fix this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/tkinter-discuss/attachments/20230115/c89e22ca/attachment.html>

More information about the Tkinter-discuss mailing list