diff cagou/plugins/plugin_wid_chat.py @ 138:53fb221ad084

plugin chat: layout change: - minimum_height is now working with BoxLayout, there is not reason anymore to use GridLayout for messages - the avatar is now on the left on its own, and message header + body are on the right, aligned
author Goffi <goffi@goffi.org>
date Fri, 13 Apr 2018 18:57:05 +0200
parents 091e288838e1
children ae58f84fe4e6
line wrap: on
line diff
--- a/cagou/plugins/plugin_wid_chat.py	Fri Apr 13 18:57:04 2018 +0200
+++ b/cagou/plugins/plugin_wid_chat.py	Fri Apr 13 18:57:05 2018 +0200
@@ -59,7 +59,7 @@
     pass
 
 
-class MessageWidget(GridLayout):
+class MessageWidget(BoxLayout):
     mess_data = properties.ObjectProperty()
     mess_xhtml = properties.ObjectProperty()
     mess_padding = (dp(5), dp(5))