[issue43606] PySimpleGUI: initial huge window & no widgets visible

FRANK BENNETT report at bugs.python.org
Tue Mar 23 21:40:24 EDT 2021


FRANK BENNETT <fbennett78 at reagan.com> added the comment:

How about the following - title ok but no label visible ?

# t8.py
import tkinter as tk

class Application(tk.Tk):
    def __init__(self):
        tk.Tk.__init__(self)
        self.geometry('500x500')
        self.title('Your first App')

        first_label = tk.Label(self, text = "I'm a cool App!!", font=10, bg="black",fg="red" )
        first_label.pack(pady= 2, padx = 2)

app = Application()
app.mainloop()

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43606>
_______________________________________


More information about the Python-bugs-list mailing list