comparison cagou/plugins/plugin_wid_chat.kv @ 132:7ad965999d47

plugin chat: draw a background for avatars
author Goffi <goffi@goffi.org>
date Fri, 06 Apr 2018 16:13:08 +0200
parents 36fc269e2a32
children c3aa71daceb8
comparison
equal deleted inserted replaced
131:36fc269e2a32 132:7ad965999d47
21 21
22 22
23 <MessAvatar>: 23 <MessAvatar>:
24 size_hint: None, None 24 size_hint: None, None
25 size: dp(30), dp(30) 25 size: dp(30), dp(30)
26 canvas.before:
27 Color:
28 rgba: (0.87,0.87,0.87,1)
29 RoundedRectangle:
30 radius: [dp(5)]
31 pos: self.pos
32 size: self.size
26 33
27 <MessagesWidget>: 34 <MessagesWidget>:
28 cols: 1 35 cols: 1
29 padding: dp(10) 36 padding: dp(10)
30 spacing: dp(5) 37 spacing: dp(5)