kivy: improve layouts
This commit is contained in:
parent
a199061462
commit
3e8cbdfba2
|
@ -5,23 +5,23 @@ Popup:
|
|||
BoxLayout:
|
||||
|
||||
orientation: 'vertical'
|
||||
size_hint: 1, None
|
||||
|
||||
GridLayout:
|
||||
size_hint: 1, None
|
||||
cols: 2
|
||||
Label:
|
||||
text: 'Password'
|
||||
size_hint: 1, None
|
||||
height: '48dp'
|
||||
TextInput:
|
||||
id: text_input
|
||||
password:True
|
||||
|
||||
size_hint: 1, None
|
||||
password: True
|
||||
multiline: False
|
||||
Button:
|
||||
size_hint_y: None
|
||||
size_hint: 1, None
|
||||
height: '48dp'
|
||||
text: _('Close')
|
||||
on_release: pw.dismiss()
|
||||
|
||||
Widget:
|
||||
size_hint_y: 1
|
||||
size_hint: 1, 1
|
||||
|
|
|
@ -5,7 +5,6 @@ Popup:
|
|||
BoxLayout:
|
||||
|
||||
orientation: 'vertical'
|
||||
size_hint: 1, None
|
||||
|
||||
GridLayout:
|
||||
cols: 2
|
||||
|
@ -16,6 +15,7 @@ Popup:
|
|||
Spinner:
|
||||
text: 'BTC'
|
||||
values: ('BTC', 'mBTC')
|
||||
size_hint: 1, None
|
||||
height: '48dp'
|
||||
|
||||
Label:
|
||||
|
@ -24,12 +24,14 @@ Popup:
|
|||
height: '48dp'
|
||||
TextInput:
|
||||
size_hint: 1, None
|
||||
|
||||
|
||||
height: '48dp'
|
||||
multiline: False
|
||||
Button:
|
||||
#size_hint_y: None
|
||||
size_hint: 1, None
|
||||
height: '48dp'
|
||||
text: _('Close')
|
||||
on_release: settings.dismiss()
|
||||
#Widget:
|
||||
# size_hint_y: None
|
||||
|
||||
Widget:
|
||||
size_hint: 1, 1
|
||||
|
||||
|
|
Loading…
Reference in New Issue