-WIP-electrum-btcp/gui/kivy/uix/ui_screens/requests.kv

54 lines
1.3 KiB
Plaintext
Raw Normal View History

<InvoicesLabel@Label>
#color: .305, .309, .309, 1
text_size: self.size
halign: 'left'
valign: 'middle'
<RequestItem@BoxLayout>
address: ''
memo: ''
amount: ''
status: ''
date: ''
size_hint_y: None
height: '65dp'
padding: dp(12)
spacing: dp(5)
canvas.before:
Color:
rgba: 0.3, 0.3, 0.3, 1
Rectangle:
size: self.size
pos: self.pos
InvoicesLabel:
text: root.address
font_size: '13dp'
InvoicesLabel:
text: root.memo
InvoicesLabel:
text: root.amount
#InvoicesLabel:
# text: root.status
RequestsScreen:
name: 'requests'
on_activate:
if not self.action_view:\
self.action_view = app.root.main_screen.ids.tabs.ids.screen_dashboard.action_view
BoxLayout:
orientation: 'vertical'
spacing: '1dp'
ScrollView:
canvas.before:
Color:
rgba: .8901, .8901, .8901, 0
Rectangle:
size: self.size
pos: self.pos
GridLayout:
cols: 1
id: requests_container
size_hint_y: None
height: self.minimum_height
spacing: '1dp'