# HG changeset patch # User Goffi # Date 1583097085 -3600 # Node ID f3c5e3caa17068833452ccbb7bef20bdaa5f0548 # Parent edb240ff7936aeb00b181bd247c2e02c8e9a3818 transfer (voice): fixed time display following Python 3 port + added spacing diff -r edb240ff7936 -r f3c5e3caa170 cagou/plugins/plugin_transfer_voice.kv --- a/cagou/plugins/plugin_transfer_voice.kv Sun Mar 01 22:11:25 2020 +0100 +++ b/cagou/plugins/plugin_transfer_voice.kv Sun Mar 01 22:11:25 2020 +0100 @@ -34,12 +34,13 @@ bold: True font_size: sp(40) text_size: self.size - text: u"{}:{:02}".format(root.time/60, root.time%60) + text: u"{}:{:02}".format(root.time//60, root.time%60) halign: 'center' valign: 'middle' BoxLayout: size_hint: 1, None height: dp(60) + spacing: dp(5) Widget IconButton: source: app.expand("{media}/icons/muchoslava/png/") + ("micro_on_50.png" if root.recording else "micro_off_50.png")