Answers for "how to increase size 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
2

how to increase height of entry in tkinter

import tkinter
window = Tk()


# ------------------------ #
my_entry = Entry(width=15, font("Arial", 20, "bold") # You can't increase the
                 # height like width, but you can do it by increasing size of 
                 # of the font. Note: it will increase size of the symbols too.
# ------------------------ #


window.mainloop()
Posted by: Guest on April-04-2022

Code answers related to "how to increase size of entry in tkinter"

Browse Popular Code Answers by Language