comparison cagou/plugins/plugin_wid_chat.kv @ 301:86292cc41e81

chat: fixed infinite loop due to size_hint used for height while height is modified by DropDown
author Goffi <goffi@goffi.org>
date Fri, 28 Jun 2019 12:30:18 +0200
parents 5d96bcd3bfec
children 772c170b47a9
comparison
equal deleted inserted replaced
300:efd3fbc85aaf 301:86292cc41e81
146 size_hint_y: None 146 size_hint_y: None
147 height: dp(30) 147 height: dp(30)
148 on_texture_size: self.parent.parent.width = max(self.parent.parent.width, self.texture_size[0] + dp(10)) 148 on_texture_size: self.parent.parent.width = max(self.parent.parent.width, self.texture_size[0] + dp(10))
149 149
150 <ExtraMenu>: 150 <ExtraMenu>:
151 size_hint: None, 1
152 width: 10
153 auto_width: False 151 auto_width: False
154 MenuButton: 152 MenuButton:
155 text: _("Bookmarks") 153 text: _("Bookmarks")
156 on_release: root.select("bookmark") 154 on_release: root.select("bookmark")
157 155