Advertisement
Guest User

Untitled

a guest
Nov 10th, 2018
383
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. from tkinter import *
  2. from tkinter import ttk
  3. gui = Tk()
  4. gui.geometry("400x400")
  5.  
  6. gui.title("registration page")
  7. gui.configure(background="light grey")
  8. a = Label(gui,text="Complete the fields below", bg="#5b9bd5").grid(row=0,column = 0)
  9. b = Label(gui ,text="Username:", bg="light grey").grid(sticky="E",row=1,column = 0)
  10. c = Label(gui ,text="Employee ID:", bg="light grey").grid(sticky="E",row=2,column=0)
  11. d = Entry(gui).grid(row=1,column=1)
  12. e = Entry(gui).grid(row=2,column=1)
  13.  
  14. f = Label(gui ,text="E-mail:", bg="light grey").grid(sticky="E",row=3,column = 0)
  15. g = Label(gui ,text="Password:", bg="light grey").grid(sticky="E",row=4,column=0)
  16. h = Entry(gui).grid(row=3,column=1)
  17. i = Entry(gui).grid(row=4,column=1)
  18.  
  19. j = Label(gui ,text="Confirm PW:", bg="light grey").grid(sticky="E",row=5,column = 0)
  20. k = Entry(gui).grid(row=5,column=1)
  21.  
  22. l = ttk.Button(gui ,text="back").grid(sticky="w",row=6,column=1)
  23. m = ttk.Button(gui ,text="continue").grid(sticky="E",row=6,column=1)
  24. gui.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement