108 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
87
views
Why are my widgets\images overlapping on Tkinter?
Here's the photo of my problem:
I'm trying to make these photos display separately when you click the next button. However, they overlap instead. I know it has something to do with the function, but ...
0
votes
1
answer
73
views
Layout issue with 'label.grid'
I am writing a Python text editor with TkInter, and I'm writing the "Preferences" window to edit the font, the font dimension etc. It is in the __openPreferences() method in the LampText ...
0
votes
1
answer
74
views
How to reserve space with specified width and height in Label in Tkinter?
I'm trying to make a small gallery program in Python for personal use but couldn't succeed yet. The problem I'm having is, reserving spaces with specified sizes in pixel (128, 128) that will be ...
2
votes
1
answer
61
views
My Python Tkinter label doesn't update when I want it to
In my Computer Science class we were asked to make a UI that solves some problems. All of the buttons work, the math operations return the right answer, but when I try to make it pop up on the screen, ...
1
vote
0
answers
61
views
Tkinter – Label not appearing on the window
I am learning Tkinter right now. For some reason, no matter what I try, I can't get the label to appear on a very simple program. I've checked some other questions but none of them seem to work.
I am ...
0
votes
1
answer
65
views
Tkinter dynamic label display
I'm working on simple window and like to have clock in it. Found out how to dynamically display time in separate window:
Somehow same code placed into my project displays only label's purple ...
2
votes
1
answer
179
views
How can I find the exact width of a CTkLabel?
I've been using customtkinter for a little while now, and I have a situation where I want to find the exact, pixel-perfect width of a CTkLabel from the font size and length of the displayed string. ...
0
votes
1
answer
52
views
Free space is not filled after destroying a frame in tkinter python
In the code I have, when a message is sent, frame1 and frame2 is destroyed. However, the messages do not make use of this extra space after destroying frame1 and frame2. Also, their is additional ...
0
votes
0
answers
51
views
Why are the white fonts on a dark background in tkinter a little blurry? Why are they worse than in Qt? Is there any way to fix this? [duplicate]
I am making for myself a simple application, similar to Anki, for memorizing vocabulary of foreign languages, using the interval repetition method. Anki uses the Qt GUI. But I use tkinter because it ...
3
votes
1
answer
791
views
When should I use a Canvas vs a Label?
Taking a class that says I should use the Canvas object to display text. Why is this superior to using a Label? Seems like a more complicated way to just display a text box.
In example below, see the &...
1
vote
2
answers
93
views
Display List as Multiline Label in TKinter
I have a Table i am generating using a List (Baseline_Data).
I can get this to print to the terminal fine using:
for row in Baseline_Data:
# Display List as Table
print('\t'.join(row))
What i ...
0
votes
2
answers
82
views
How to Adjust Spacing Between Label and Entry Widget in Tkinter Password Generator Layout?
I have a Tkinter-based Password Generator with a layout that includes a "Password Length" label and an entry widget. However, I would like to adjust those elements to the center of that row. ...
0
votes
1
answer
147
views
Changing Background Colour with a While Loop in Python
I am trying to configure a label in my window with the result of an iteration that produces the range of hexadecimal colour codes from #000000 to #FFFFFF so that the label’s background colour fades ...
0
votes
1
answer
232
views
tkinter (ttk) leaving artifacts when updating widget
When updating a value in a widget using tkinter there's traces of the old widget's state on screen, and I was wondering if there's any fix to this. I'm assuming tkinter just re-draws whatever it needs ...
0
votes
0
answers
55
views
Spaces Between Videos
This is the window I am creating a UI using tkinter and I am trying to display 4 multiple video stream in a window. I created a 6 x 4 grid system and I put the first video display in row 1 column ...