Created
March 16, 2015 18:00
-
-
Save kived/3ec93b8a5fe0ecc2c41a to your computer and use it in GitHub Desktop.
Kivy: background color example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<BackgroundWidget@Widget>: | |
background_color: 1, 0, 0, 1 | |
canvas.before: | |
Color: | |
rgba: root.background_color | |
Rectangle: | |
pos: self.pos | |
size: self.size |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment