add password_dialog
This commit is contained in:
27
gui/kivy/uix/ui_screens/password.kv
Normal file
27
gui/kivy/uix/ui_screens/password.kv
Normal 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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user