In python, I am using the tkinter module in order to create a login screen. It is fully functioning with all the widgets in the correct places, but the only problem being is that when I drag the screen out larger, the widget's sizes don't increase in scale with the size of the main window.
from tkinter import *
root = Tk()
f1 = Frame(root)
f1.grid(row=0, column=0, sticky='news')
enter = Frame(f1)
e1 = Entry(enter,font=('Consolas',15),width=25)
e1.insert(0,'E-mail')
e1.pack(pady=10)
e2 = Entry(enter,font=('',15),show='*',width=25)
e2.insert(0,'E-mail')
e2.pack(pady=20)
enter.grid(row=1,column=0,columnspan=3,padx=20,sticky='nsew')
loginframe = Frame(f1)
loginbutton = Button(loginframe,text='Login!',bg='lightblue',height=2,width=39)
loginbutton.pack()
loginframe.grid(row=2,column=0,columnspan=3,sticky='ew')
account = Frame(f1)
Label(account,text="Don't have an account yet?").pack(side=LEFT)
link = Label(account,text="Sign Up!",cursor='hand2',fg='blue',
font=('Helvetica',8,'underline'))
link.pack(side=BOTTOM)
account.pack()
account.grid(row=3,column=0,columnspan=3)
root.mainloop()