comparison cagou/kv/menu.kv @ 415:5761b5f03c0c

menu: TransferMenu UI improvment
author Goffi <goffi@goffi.org>
date Sun, 23 Feb 2020 15:39:06 +0100
parents f7476818f9fb
children 5b50b7ef2617
comparison
equal deleted inserted replaced
414:72a6b06728ab 415:5761b5f03c0c
60 ToggleButton: 60 ToggleButton:
61 id: send_btn 61 id: send_btn
62 text: _(u"send") 62 text: _(u"send")
63 group: "transfer" 63 group: "transfer"
64 Label: 64 Label:
65 color: 1, 1, 1, 1
66 size_hint: 1, 0.3 65 size_hint: 1, 0.3
67 text: root.transfer_txt if upload_btn.state == 'down' else root.send_txt 66 text: root.transfer_txt if upload_btn.state == 'down' else root.send_txt
68 text_size: self.size 67 text_size: self.size
69 halign: 'center' 68 halign: 'center'
70 valign: 'top' 69 valign: 'top'
84 source: root.plug_info['icon_medium'] 83 source: root.plug_info['icon_medium']
85 allow_stretch: True 84 allow_stretch: True
86 size_hint: 1, None 85 size_hint: 1, None
87 height: dp(50) 86 height: dp(50)
88 Label: 87 Label:
89 color: 1, 1, 1, 1 88 color: 0, 0, 0, 1
90 text: root.plug_info['name'] 89 text: root.plug_info['name']
91 text_size: self.size 90 text_size: self.size
92 halign: "center" 91 halign: "center"
93 valign: "top" 92 valign: "top"
94 93