comparison cagou/kv/common.kv @ 256:ba7b8cb7ddcd

common: don't use anymore positional argument in JidItem
author Goffi <goffi@goffi.org>
date Sat, 26 Jan 2019 20:24:48 +0100
parents cf61a011f731
children 7d5297984191
comparison
equal deleted inserted replaced
255:03d74435c01c 256:ba7b8cb7ddcd
16 16
17 17
18 <JidItem>: 18 <JidItem>:
19 size_hint: 1, None 19 size_hint: 1, None
20 height: dp(70) 20 height: dp(70)
21 avatar: avatar
21 canvas.before: 22 canvas.before:
22 Color: 23 Color:
23 rgba: self.bg_color 24 rgba: self.bg_color
24 Rectangle: 25 Rectangle:
25 pos: self.pos 26 pos: self.pos
26 size: self.size 27 size: self.size
27 Image: 28 Image:
28 source: root.getImage(self) 29 id: avatar
29 size_hint: None, None 30 size_hint: None, None
30 size: dp(64), dp(64) 31 size: dp(64), dp(64)
31 Label: 32 Label:
32 size_hint: 1, 1 33 size_hint: 1, 1
33 text_size: self.size 34 text_size: self.size