diff cagou/plugins/plugin_wid_chat.kv @ 416:3e2333a11f61

common: implemented SymbolToggleLabel: - SymbolLabel doesn't do button behaviour anymore - SymbolButtonLabel does the button behaviour (to use instead of former SymbolLabel) - SymbolToggleLabel does toggle button behaviour
author Goffi <goffi@goffi.org>
date Sun, 23 Feb 2020 17:13:15 +0100
parents c466678c57b2
children 13884aac1220
line wrap: on
line diff
--- a/cagou/plugins/plugin_wid_chat.kv	Sun Feb 23 15:39:06 2020 +0100
+++ b/cagou/plugins/plugin_wid_chat.kv	Sun Feb 23 17:13:15 2020 +0100
@@ -46,7 +46,7 @@
         RoundedRectangle:
             pos: self.x + dp(1), self.y + dp(1)
             size: (self.width - dp(2)) * root.progress / 100, self.height - dp(2)
-    SymbolLabel:
+    SymbolButtonLabel:
         symbol: root.get_symbol(root.data)
         color: 0, 0, 0, 1
         text: root.data.get('name', _('unnamed'))