Mercurial > libervia-desktop-kivy
diff cagou/plugins/plugin_wid_chat.kv @ 185:ab3f5173ef5c
chat, simple XHTML: font size adjustement
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 11 May 2018 20:07:17 +0200 |
parents | ffef21fd97a2 |
children | ba8f3a4a5ac7 |
line wrap: on
line diff
--- a/cagou/plugins/plugin_wid_chat.kv Thu May 10 08:32:46 2018 +0200 +++ b/cagou/plugins/plugin_wid_chat.kv Fri May 11 20:07:17 2018 +0200 @@ -72,6 +72,7 @@ Label: id: time_label color: (0, 0, 0, 1) if root.mess_data.own_mess else (0.55,0.55,0.55,1) + font_size: root.font_size text_size: None, None size_hint: None, None size: self.texture_size @@ -81,6 +82,8 @@ 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 + font_size: root.font_size text_size: None, None size_hint: None, None size: self.texture_size @@ -90,7 +93,6 @@ # which will allow us to use fonts with more unicode characters font_name: "DejaVuSans" text: u'' - color: 0.4, 0.4, 0.4, 1 SimpleXHTMLWidget: id: mess_xhtml size_hint: 1, None