diff src/cagou/plugins/plugin_wid_chat.kv @ 59:2aa44a82d0e7

chat: XHTML image size handling: display image full size if possible, else resize it to fit in container. if height and or width attribute of <img> are specified, they are used instead of actual image size.
author Goffi <goffi@goffi.org>
date Sun, 02 Oct 2016 13:29:37 +0200
parents 7aa2ffff9067
children 46d962910801
line wrap: on
line diff
--- a/src/cagou/plugins/plugin_wid_chat.kv	Wed Sep 28 22:02:36 2016 +0200
+++ b/src/cagou/plugins/plugin_wid_chat.kv	Sun Oct 02 13:29:37 2016 +0200
@@ -24,7 +24,7 @@
     size: self.texture_size
 
 <SimpleXHTMLWidgetImage>:
-    size_hint: 1, None
+    size_hint: None, None
 
 <MessAvatar>:
     size_hint: None, None