1
0

add password_dialog

This commit is contained in:
ThomasV
2015-10-13 19:09:12 +02:00
parent 2e8801fdda
commit a199061462
4 changed files with 61 additions and 18 deletions

View File

@@ -0,0 +1,27 @@
Popup:
id: pw
title: _('Password')
BoxLayout:
orientation: 'vertical'
size_hint: 1, None
GridLayout:
size_hint: 1, None
cols: 2
Label:
text: 'Password'
height: '48dp'
TextInput:
id: text_input
password:True
Button:
size_hint_y: None
height: '48dp'
text: _('Close')
on_release: pw.dismiss()
Widget:
size_hint_y: 1

View File

@@ -5,17 +5,26 @@ Popup:
BoxLayout:
orientation: 'vertical'
size_hint_y: None
size_hint: 1, None
GridLayout:
cols: 2
Label:
text: _('Base unit')
height: '48dp'
size_hint: 1, None
Spinner:
text: 'BTC'
values: ('BTC', 'mBTC')
height: '48dp'
Label:
size_hint: 1, None
text: 'OpenAlias'
height: '48dp'
TextInput:
size_hint: 1, None
Button:
#size_hint_y: None