Ich habe es mit Frames versucht aber da kam auch nichts besseres raus:
Code: Alles auswählen
from Tkinter import *
root = Tk()
frame = Frame(root, width=600, height=400, bg="#363848")
frame.pack()
label = Label(frame, text="hhh")
label.pack()
root.mainloop()
Lässt man das Label allerdings weg wird alles normal angezeigt.. genauso bei den Einstellung von "window":
Code: Alles auswählen
from Tkinter import *
root = Tk()
root.config(bg="#336600", width="600", height="400")
label = Label(root, text="hhh")
label.pack()
root.mainloop()
Wo liegt der Fehler? Danke schonmal!