Python Forum
[Tkinter] The Text in the Label widget Tkinter cuts off the Long text in the view
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] The Text in the Label widget Tkinter cuts off the Long text in the view
#5
Compare my code with yours. The bind part is needed as well. You are binding the label, I'm binding to root.
On a side note you have imported random and then redefined it in your code. Just my opinion but, that's bad practice. Also in my opinion it's bad practice to use globals.
malmustafa likes this post
I welcome all feedback.
The only dumb question, is one that doesn't get asked.
My Github
How to post code using bbtags


Reply


Messages In This Thread
RE: The Text in the Label widget Tkinter cuts off the Long text in the view - by menator01 - Jun-26-2022, 06:26 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Tkinter: An image and label are not appearing. emont 7 684 Mar-21-2024, 03:00 PM
Last Post: deanhystad
  Transparent window background, but not text on it muzicman0 7 2,918 Feb-02-2024, 01:28 AM
Last Post: Joically
  TKinter Widget Attribute and Method Quick Reference zunebuggy 3 876 Oct-15-2023, 05:49 PM
Last Post: zunebuggy
  tkinter destroy label inside labelFrame Nick_tkinter 3 4,579 Sep-17-2023, 03:38 PM
Last Post: munirashraf9821
  [Kivy] Create a function to store text fields and drop downs selection in KivyMD floxia 0 1,678 Dec-18-2022, 04:34 AM
Last Post: floxia
  [Tkinter] Updating tkinter text BliepMonster 5 6,116 Nov-28-2022, 01:42 AM
Last Post: deanhystad
  Can't change the colour of Tk button text Pilover 6 14,843 Nov-15-2022, 10:11 PM
Last Post: woooee
  [PyQt] QLineEdit Caret (Text Cursor) Transparency malonn 5 2,839 Nov-04-2022, 09:04 PM
Last Post: malonn
  [PyQt] Hover over highlighted text and open popup window DrakeSoft 2 1,544 Oct-29-2022, 04:30 PM
Last Post: DrakeSoft
  [PyQt] Determine whether text in QTableView cell is fully visible or not random_nick 0 997 Oct-27-2022, 09:29 PM
Last Post: random_nick

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020