Mercurial > libervia-desktop-kivy
changeset 431:f3c5e3caa170
transfer (voice): fixed time display following Python 3 port + added spacing
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 01 Mar 2020 22:11:25 +0100 |
parents | edb240ff7936 |
children | 36c3f1c02d33 |
files | cagou/plugins/plugin_transfer_voice.kv |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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")