Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

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()
Comment

make entry bigger in tkinter python

import tkinter as tk

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

entryExample = tk.Entry(app)
entryExample.place(x = 10,
        y = 10,
        width=200,
        height=100)

app.mainloop()
Comment

make entry bigger in tkinter python

import tkinter as tk

app = tk.Tk()

entryExample1 = tk.Entry(app)
entryExample2 = tk.Entry(app)

entryExample1.grid(row=0,
               column=0,
               padx=10,
               pady=10,
               ipady=50)

entryExample2.grid(row=0,
               column=1,
               padx=10,
               pady=10,
               ipady=60)

app.geometry("300x200")

app.mainloop()
Comment

PREVIOUS NEXT
Code Example
Python :: pip install for python 2 and python3 
Python :: python exit for loop 
Python :: pandas backfill 
Python :: How to generate all the permutations of a set of integers, in Python? 
Python :: numpy inverse square root 
Python :: pandas replace row values based on condition 
Python :: slicing string in python 
Python :: merge three dataframes pandas based on column 
Python :: fillna with mode pandas 
Python :: python tuple to list 
Python :: matplotlib custom legend 
Python :: sqlite query in python 
Python :: append item to array python 
Python :: decision tree regressor 
Python :: commentaire python 
Python :: python create sqlite db in memory 
Python :: python kivy 
Python :: write a python program to find table of a number using while loop 
Python :: seaborn pairplot 
Python :: how to remove numbers from a dataframe in python 
Python :: scikit image 0.16.2 
Python :: np random seed 
Python :: NumPy unique Syntax 
Python :: try except keyerror 
Python :: create dictionary from keys and values python 
Python :: form errors in django 
Python :: day name in python 
Python :: python ftplib get list of directories 
Python :: remove duplicate columns python dataframe 
Python :: contains duplicate in python 
ADD CONTENT
Topic
Content
Source link
Name
1+7 =