mirror of https://github.com/kivy/kivy.git
style: start to write uxl
This commit is contained in:
parent
8632b1f4d6
commit
16d8bd9da8
|
@ -0,0 +1,14 @@
|
|||
<Button>:
|
||||
canvas:
|
||||
Color:
|
||||
rgb: (1, 0, 0)
|
||||
Rectangle:
|
||||
pos: self.pos
|
||||
size: self.size
|
||||
Widget:
|
||||
canvas:
|
||||
Color:
|
||||
rgb: (0, 1, 0)
|
||||
Rectangle:
|
||||
size: (100, 100)
|
||||
|
Loading…
Reference in New Issue