Browse Source

kivy: minor GUI tweaks

2.9.x
ThomasV 8 years ago
parent
commit
e7b136cc6b
  1. 1
      gui/kivy/main.kv
  2. 3
      gui/kivy/uix/dialogs/checkpoint_dialog.py
  3. 4
      gui/kivy/uix/ui_screens/network.kv
  4. 6
      gui/kivy/uix/ui_screens/proxy.kv

1
gui/kivy/main.kv

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

3
gui/kivy/uix/dialogs/checkpoint_dialog.py

@ -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') + ':'

4
gui/kivy/uix/ui_screens/network.kv

@ -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

6
gui/kivy/uix/ui_screens/proxy.kv

@ -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: ''

Loading…
Cancel
Save