# HG changeset patch # User Goffi # Date 1523023988 -7200 # Node ID 7ad965999d476f3d7e7f7299bceab7c6df757316 # Parent 36fc269e2a326d1ac034f82727ac1ab3ffe33f09 plugin chat: draw a background for avatars diff -r 36fc269e2a32 -r 7ad965999d47 cagou/plugins/plugin_wid_chat.kv --- 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 @@ : 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 : cols: 1