Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from guizero import App, Text, TextBox, Box, Combo
- app = App('Mori App', width=600, height=500, layout='grid')
- titleMessage = Text(app, text="FOOD DELIVERY ORDER MORI FASt & Furious", grid=[0,0])
- titleMessage.text_size = 12
- titleMessage.text_color = "red"
- titleMessage.font = "Comic Sans MS"
- label_name = Text(app, text='Enter your name ', align="left", grid=[0,1])
- text_nama = TextBox(app, text='', width=20, grid=[1,1])
- label_food = Text(app, text='Choose your food ', align="left", grid=[0,2])
- cmb_food = Combo(app, options=["5$ - Fried chicken","6$ - Sausage","10$ - PrasmananRice","12$ - BasmatiRice"],selected="5$ - Fried chicken", grid=[1,2])
- label_order = Text(app, text='How many food your order ', align="left", grid=[0,3])
- cmb_order = Combo(app, options=["1","2","3","4"],align="left",selected="1",grid=[1,3])
- label_extra = Text(app, text='Choose your Extra ', align="left", grid=[0,4])
- cmb_extra = Combo(app, options=["1$ - Fries","2$ - Bun","3$ - Pasta"],selected="2$ - Bun",align="left",grid=[1,4])
- label_cost = Text(app, text='Total Price ', grid=[0,5])
- txt_cost = TextBox(app, text='', width=10, align="left", grid=[1,5])
- app.display()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement