comparison cagou/plugins/plugin_wid_chat.kv @ 312:772c170b47a9

Python3 port: /!\ Cagou now runs with Python 3.6+ Port has been done in the same way as for backend (check backend commit b2d067339de3 message for details).
author Goffi <goffi@goffi.org>
date Tue, 13 Aug 2019 19:14:22 +0200
parents 86292cc41e81
children e2b51663d8b8
comparison
equal deleted inserted replaced
311:a0d978d3ce84 312:772c170b47a9
183 Button: 183 Button:
184 text: root.text 184 text: root.text
185 size_hint: 1, 1 185 size_hint: 1, 1
186 padding: dp(5), dp(10) 186 padding: dp(5), dp(10)
187 color: 0, 0, 0, 1 187 color: 0, 0, 0, 1
188 bold: True 188 bold: root.bold
189 background_normal: app.expand('{media}/misc/borders/border_filled_black.png') 189 background_normal: app.expand('{media}/misc/borders/border_filled_black.png')
190 background_color: app.c_sec if root.selected else app.c_prim_dark 190 background_color: app.c_sec if root.selected else app.c_prim_dark
191 on_release: root.dispatch("on_release") 191 on_release: root.dispatch("on_release")
192 on_texture_size: root.best_width = self.texture_size[0] + (dp(30) if root.trust_button else 0) 192 on_texture_size: root.best_width = self.texture_size[0] + (dp(30) if root.trust_button else 0)
193 193