kivy: minor GUI tweaks

This commit is contained in:
ThomasV 2017-03-28 09:44:11 +02:00
parent 14a3d49f81
commit e7b136cc6b
4 changed files with 12 additions and 2 deletions

View File

@ -17,6 +17,7 @@
<TextInput>
on_focus: app._focused_widget = root
font_size: '18sp'
<Button>
on_parent: self.MIN_STATE_TIME = 0.1

View File

@ -43,10 +43,11 @@ Builder.load_string('''
height: '36dp'
TextInput:
id: height_input
multiline: False
input_type: 'number'
height: '36dp'
size_hint_y: None
text: '%d'%root.cp_height
input_type: 'number'
on_focus: root.on_height_str()
TopLabel:
text: _('Block hash') + ':'

View File

@ -8,7 +8,7 @@ Popup:
padding: '10dp'
spacing: '10dp'
TopLabel:
text: _("Electrum retrieves your transaction history from a single server. The history is then checked against blockchain headers sent by other nodes, using Simple Payment Verification (SPV).")
text: _("Electrum requests your transaction history from a single server. The returned history is then checked against blockchain headers sent by other nodes, using Simple Payment Verification (SPV).")
font_size: '6pt'
Widget:
size_hint: 1, 0.8
@ -21,6 +21,7 @@ Popup:
text: _('Host') + ':'
TextInput:
id: host
multiline: False
height: '36dp'
size_hint_x: 3
size_hint_y: None
@ -40,6 +41,7 @@ Popup:
text: _('Port') + ':'
TextInput:
id: port
multiline: False
input_type: 'number'
height: '36dp'
size_hint_x: 3

View File

@ -19,6 +19,7 @@ Popup:
text: _('Host')
TextInput:
id: host
multiline: False
height: '48dp'
size_hint_y: None
text: ''
@ -27,6 +28,8 @@ Popup:
text: _('Port')
TextInput:
id: port
multiline: False
input_type: 'number'
height: '48dp'
size_hint_y: None
text: ''
@ -35,6 +38,7 @@ Popup:
text: _('Username')
TextInput:
id: user
multiline: False
height: '48dp'
size_hint_y: None
text: ''
@ -43,6 +47,8 @@ Popup:
text: _('Password')
TextInput:
id: password
multiline: False
password: True
height: '48dp'
size_hint_y: None
text: ''