Label position
Verfasst: Samstag 12. Mai 2012, 17:19
Ich bin noch relativ neu bei python, und habe ein kleines problem. Ich möchte, dass ein Labelfeld an einer bestimmten position ist ( in diesem fall x=100, y=100 ), jedoch funktioniert es nicht.
würde mich freuen wenn mir jemand helfen kann
Code: Alles auswählen
from tkinter import*
root = Tk()
root.geometry("800x800")
label1 = Label(root, text="x", width=20, height=20)
label1.place(x=100,y=100)
label1.pack()
root.mainloop()