Answers for "How to decrease length of entry in tkinter"

2

How to decrease length of entry in tkinter

import tkinter as tk

app = tk.Tk()
app.geometry("400x200")

entryExample = tk.Entry(app,
                        width=10)

entryExample.pack(side=tk.LEFT,
                  padx=10)

app.mainloop()
Posted by: Guest on July-24-2021

Browse Popular Code Answers by Language