Mercurial > libervia-desktop-kivy
changeset 434:977158b56ce6
chat: use a Line instead of 2 RoundedRectangle for decoration
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 01 Mar 2020 22:11:25 +0100 |
parents | aa204c813f07 |
children | 53bb3886b408 |
files | cagou/plugins/plugin_wid_chat.kv |
diffstat | 1 files changed, 2 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- 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: