Mercurial > libervia-desktop-kivy
comparison cagou/plugins/plugin_transfer_voice.kv @ 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 | 1b835bcfa663 |
children | 3c9ba4a694ef |
comparison
equal
deleted
inserted
replaced
430:edb240ff7936 | 431:f3c5e3caa170 |
---|---|
32 size_hint: 1, None | 32 size_hint: 1, None |
33 height: dp(60) | 33 height: dp(60) |
34 bold: True | 34 bold: True |
35 font_size: sp(40) | 35 font_size: sp(40) |
36 text_size: self.size | 36 text_size: self.size |
37 text: u"{}:{:02}".format(root.time/60, root.time%60) | 37 text: u"{}:{:02}".format(root.time//60, root.time%60) |
38 halign: 'center' | 38 halign: 'center' |
39 valign: 'middle' | 39 valign: 'middle' |
40 BoxLayout: | 40 BoxLayout: |
41 size_hint: 1, None | 41 size_hint: 1, None |
42 height: dp(60) | 42 height: dp(60) |
43 spacing: dp(5) | |
43 Widget | 44 Widget |
44 IconButton: | 45 IconButton: |
45 source: app.expand("{media}/icons/muchoslava/png/") + ("micro_on_50.png" if root.recording else "micro_off_50.png") | 46 source: app.expand("{media}/icons/muchoslava/png/") + ("micro_on_50.png" if root.recording else "micro_off_50.png") |
46 allow_stretch: True | 47 allow_stretch: True |
47 size_hint: None, None | 48 size_hint: None, None |