# HG changeset patch # User Goffi # Date 1483645001 -3600 # Node ID 20251d926cc205db4be08df353a5a95ef22f215e # Parent d5ede9281e4c1cb0705587ce5f7eb4c6570de5a9 chat: fixed bad size_hint setting on XHTML diff -r d5ede9281e4c -r 20251d926cc2 src/cagou/plugins/plugin_wid_chat.py --- a/src/cagou/plugins/plugin_wid_chat.py Thu Jan 05 20:36:40 2017 +0100 +++ b/src/cagou/plugins/plugin_wid_chat.py Thu Jan 05 20:36:41 2017 +0100 @@ -27,7 +27,6 @@ from kivy.uix.stacklayout import StackLayout from kivy.uix.textinput import TextInput from kivy.uix.label import Label -from kivy.uix.image import AsyncImage from kivy.metrics import dp from kivy.utils import escape_markup from kivy import properties @@ -35,7 +34,7 @@ from sat_frontends.quick_frontend import quick_chat from sat_frontends.tools import jid, css_color, strings as sat_strings from cagou.core import cagou_widget -from cagou.core.image import Image +from cagou.core.image import Image, AsyncImage from cagou import G from xml.etree import ElementTree as ET import webbrowser @@ -213,7 +212,7 @@ wid.width = wid.texture_size[0] self.content_width = wid.width + self.padding[0] + self.padding[2] else: - wid.size_hint(1, None) + wid.size_hint = (1, None) wid.height = 100 self.content_width = self.width else: