Pack labels
AI 7 <[email protected]> Sun, 15 Jan 2023 20:49:00 +0000
| Newsgroups | gmane.comp.python.tkinter |
|---|---|
| Message-ID | <CAKiq2usFaKMcn916y5kF99O4NBsD8GF82UxtsBQQ+KMUwTwzMg@mail.gmail.com> |
--===============6327952737715698943== Content-Type: multipart/alternative; boundary="0000000000004a502005f253998a" --0000000000004a502005f253998a Content-Type: text/plain; charset="UTF-8" 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? --0000000000004a502005f253998a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, I am creating a booking system where one of the functions is to retriev= e bookings from a text file and display to the user. The text file stores = =C2=A0each booking on a new line with all its fields. A loop is made throug= h the array when the text file is read and each line (each index of the arr= ay) 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? --0000000000004a502005f253998a-- --===============6327952737715698943== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Tkinter-discuss mailing list [email protected] https://mail.python.org/mailman/listinfo/tkinter-discuss --===============6327952737715698943==--