Mercurial > libervia-desktop-kivy
changeset 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 |
files | cagou/plugins/plugin_wid_chat.kv |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/cagou/plugins/plugin_wid_chat.kv Fri Apr 06 16:12:58 2018 +0200 +++ b/cagou/plugins/plugin_wid_chat.kv Fri Apr 06 16:13:08 2018 +0200 @@ -23,6 +23,13 @@ <MessAvatar>: size_hint: None, None size: dp(30), dp(30) + canvas.before: + Color: + rgba: (0.87,0.87,0.87,1) + RoundedRectangle: + radius: [dp(5)] + pos: self.pos + size: self.size <MessagesWidget>: cols: 1