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

36 lines
1004 B
Plaintext
Raw Normal View History

2015-10-07 04:48:58 -07:00
#:import os os
2015-10-07 02:05:50 -07:00
Popup:
2015-12-02 03:11:28 -08:00
title: _('Wallets')
id: popup
2015-10-07 04:48:58 -07:00
BoxLayout:
orientation: 'vertical'
GridLayout:
size_hint_y: None
cols: 2
Label:
height: '32dp'
size_hint_y: None
text: _('Wallet file') + ':'
TextInput:
id: text_input
height: '32dp'
size_hint_y: None
text: os.path.basename(app.wallet.storage.path)
FileChooserIconView:
id: wallet_selector
path: os.path.dirname(app.wallet.storage.path)
on_selection: text_input.text = os.path.basename(self.selection[0]) if self.selection else ''
2015-12-02 03:11:28 -08:00
size_hint: 1, 1
2015-12-02 03:11:28 -08:00
BoxLayout:
Widget:
size_hint: 0.5, None
Button:
size_hint: 0.5, None
height: '48dp'
text: _('OK')
on_release:
popup.dismiss()