# HG changeset patch # User Goffi # Date 1583097085 -3600 # Node ID 977158b56ce627485d3a32cfc7a3535fd30da208 # Parent aa204c813f071d0909921621d74529a08da82aba chat: use a Line instead of 2 RoundedRectangle for decoration diff -r aa204c813f07 -r 977158b56ce6 cagou/plugins/plugin_wid_chat.kv --- a/cagou/plugins/plugin_wid_chat.kv Sun Mar 01 22:11:25 2020 +0100 +++ b/cagou/plugins/plugin_wid_chat.kv Sun Mar 01 22:11:25 2020 +0100 @@ -36,14 +36,8 @@ canvas.before: Color: rgb: app.c_prim_dark - RoundedRectangle: - pos: self.pos - size: self.size - Color: - rgb: 1, 1, 1, 1 - RoundedRectangle: - pos: self.x + dp(1), self.y + dp(1) - size: self.width - dp(2), self.height - dp(2) + Line: + rounded_rectangle: self.x + dp(1), self.y + dp(1), self.width - dp(2), self.height - dp(2), 10 Color: rgb: app.c_sec_light RoundedRectangle: