Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from guizero import App, Text
- app = App(title="Hi there")
- firstmessage = Text(app, text="This is big text")
- secondmessage = Text(app, text="This is green", color= "yellow")
- thirdmessage = Text(app, text="This is third", color='#ccffc9', font='Albertus MT')
- firstmessage.text_size = 40
- secondmessage.bg = "green"
- secondmessage.color= "red"
- thirdmessage.text_size = 30
- thirdmessage.bg="#cc3380"
- app.display()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement