Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from guizero import App, PushButton
- app = App()
- button = PushButton(app, height=10, width=20)
- button_sized = PushButton(app, width="fill", height="fill")
- button_sized.bg = "green"
- button2 = PushButton(app, height=1, width=5)
- button2.bg = "blue"
- button3 = PushButton(app, height=5, width="fill")
- button3.bg = "yellow"
- app.display()
Advertisement
Add Comment
Please, Sign In to add comment