Advertisement
Vesna_To

box1

Aug 8th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. from guizero import *
  2. app = App()
  3. box = Box(app, align="top", border=1, width=100, height=100)
  4. box1 = Box(app, align="right", border=2, width=200, height=100)
  5. box2 = Box(app, align="bottom", border=3, width=200, height=200)
  6.  
  7. button = PushButton(box,text="Gumb 1")
  8. button2 = PushButton(box1, text="Gumb 2")
  9. button3 = PushButton(box2, text="Gumb 3")
  10. app.display()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement