First Version of front end
This commit is contained in:
parent
f550bbce54
commit
5ecf43fd5c
36
CenaMieszkaniaDesign.py
Normal file
36
CenaMieszkaniaDesign.py
Normal file
@ -0,0 +1,36 @@
|
||||
from tkinter import *
|
||||
|
||||
root = Tk()
|
||||
|
||||
root.geometry("500x500")
|
||||
root.title("Mieszkaneo")
|
||||
|
||||
root.title("Mieszkaneo")
|
||||
root.maxsize(900, 600)
|
||||
root.config(bg="#C3DEED")
|
||||
|
||||
label1 = Label(root, text="Metraż", font=('Arial', 18))
|
||||
label1.grid(row=0, column=0, columnspan=2, padx=10, pady=5)
|
||||
left_frame = Frame(root, width=100, height=50, bg='skyblue')
|
||||
left_frame.grid(row=1, column=0, padx=10, pady=5)
|
||||
|
||||
label2 = Label(root, text="Rynek", font=('Arial', 18))
|
||||
label2.grid(row=0, column=1, columnspan=2, padx=10, pady=5)
|
||||
right_frame = Frame(root, width=100, height=50, bg='skyblue')
|
||||
right_frame.grid(row=1, column=1, padx=10, pady=5)
|
||||
|
||||
label3 = Label(root, text="Stan", font=('Arial', 18))
|
||||
label3.grid(row=2, column=0, columnspan=2, padx=10, pady=5)
|
||||
left_frame = Frame(root, width=100, height=50, bg='grey')
|
||||
left_frame.grid(row=3, column=0, padx=10, pady=5)
|
||||
|
||||
label4 = Label(root, text="Liczba Pokoi", font=('Arial', 18))
|
||||
label4.grid(row=2, column=1, columnspan=2, padx=10, pady=5)
|
||||
right_frame = Frame(root, width=100, height=50, bg='grey')
|
||||
right_frame.grid(row=3, column=1, padx=10, pady=5)
|
||||
|
||||
button = Button(root, text="Oblicz cene mieszkania", font=('Arial', 18))
|
||||
button.grid()
|
||||
|
||||
|
||||
root.mainloop()
|
Loading…
Reference in New Issue
Block a user