diff cagou/plugins/plugin_wid_chat.kv @ 274:7d5297984191

core, chat: UI improvments: - better aligment of elements on left and right border, using new app.MARGIN_LEFT and app.MARGIN_RIGHT constants - Better sizing of JidItem, avoiding the avatar to touch the bottom border
author Goffi <goffi@goffi.org>
date Wed, 20 Mar 2019 09:29:44 +0100
parents fdda914a298b
children a0835f0212d8
line wrap: on
line diff
--- a/cagou/plugins/plugin_wid_chat.kv	Wed Mar 20 09:29:44 2019 +0100
+++ b/cagou/plugins/plugin_wid_chat.kv	Wed Mar 20 09:29:44 2019 +0100
@@ -82,7 +82,7 @@
                 text: u"[b]{}[/b], {}".format(escape(root.mess_data.nick), root.mess_data.time_text)
             Label:
                 id: delivery
-                color: 0.4, 0.4, 0.4, 1
+                color: C.COLOR_BTN_LIGHT
                 font_size: root.font_size
                 text_size: None, None
                 size_hint: None, None
@@ -115,7 +115,7 @@
         size_hint: 1, None
         height: dp(40)
         spacing: dp(10)
-        padding: [dp(10), 0, dp(15), dp(10)]
+        padding: [app.MARGIN_LEFT, 0, app.MARGIN_RIGHT, dp(10)]
         message_input: message_input
         MessageInputWidget:
             id: message_input