Mercurial > libervia-desktop-kivy
comparison cagou/plugins/plugin_wid_chat.kv @ 441:ff548846df91
chat: use `image-loading` as source by default:
not specifying source was resulting in graphical glitches (notably when the image could
not be downloaded correctly). Using `image-loading` as default avoids this, and indicates
to the user that something is running in background.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 07 Mar 2020 00:05:50 +0100 |
parents | b5e6d36fbf9c |
children | f3296a7f35f3 |
comparison
equal
deleted
inserted
replaced
440:167c3e198f73 | 441:ff548846df91 |
---|---|
153 text: u'' | 153 text: u'' |
154 SimpleXHTMLWidget: | 154 SimpleXHTMLWidget: |
155 id: mess_xhtml | 155 id: mess_xhtml |
156 size_hint: 1, None | 156 size_hint: 1, None |
157 height: self.minimum_height | 157 height: self.minimum_height |
158 xhtml: root.message_xhtml or self.escape(root.message or u'') | 158 xhtml: root.message_xhtml or self.escape(root.message or '') |
159 color: (0.74,0.74,0.24,1) if root.mess_type == "info" else (0, 0, 0, 1) | 159 color: (0.74,0.74,0.24,1) if root.mess_type == "info" else (0, 0, 0, 1) |
160 padding: root.mess_padding | 160 padding: root.mess_padding |
161 bold: True if root.mess_type == "info" else False | 161 bold: True if root.mess_type == "info" else False |
162 | 162 |
163 | 163 |