electrum-bitcoinprivate/gui/kivy/uix/ui_screens/invoice.kv

54 lines
1.4 KiB
Plaintext
Raw Normal View History

2016-02-11 02:40:23 -08:00
#:import Decimal decimal.Decimal
Popup:
id: popup
title: _('Invoice')
2016-02-15 04:49:33 -08:00
BoxLayout:
orientation: 'vertical'
spacing: '1dp'
Widget:
size_hint: 1, 0.1
GridLayout:
cols:1
size_hint: 1, 1
2016-02-11 02:40:23 -08:00
Label:
id: requestor_label
text_size: self.width, None
2016-02-14 19:39:53 -08:00
size_hint: 1, 0.3
Label:
id: amount_label
text_size: self.width, None
2016-02-11 02:40:23 -08:00
size_hint: 1, 0.3
Label:
2016-02-15 04:49:33 -08:00
id: signature_label
2016-02-11 02:40:23 -08:00
text_size: self.width, None
size_hint: 1, 0.3
Label:
2016-02-15 04:49:33 -08:00
id: expiration_label
2016-02-11 02:40:23 -08:00
text_size: self.width, None
size_hint: 1, 0.3
Label:
2016-02-15 04:49:33 -08:00
id: memo_label
2016-02-11 02:40:23 -08:00
text_size: self.width, None
size_hint: 1, 0.3
Label:
id: txid_label
text_size: self.width, None
size: self.texture_size
2016-02-15 04:49:33 -08:00
Widget:
size_hint: 1, 0.5
BoxLayout:
size_hint: 1, None
height: '48dp'
Widget:
size_hint: 0.5, None
height: '48dp'
Button:
size_hint: 0.5, None
2016-02-11 02:40:23 -08:00
height: '48dp'
2016-02-15 04:49:33 -08:00
text: _('Close')
on_release: popup.dismiss()