commit e7b136cc6bd44735ce1891309b041ad6a558a306
parent 14a3d49f81a12062ceea7308de826511bfc89f75
Author: ThomasV <thomasv@electrum.org>
Date: Tue, 28 Mar 2017 09:44:11 +0200
kivy: minor GUI tweaks
Diffstat:
4 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/gui/kivy/main.kv b/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
diff --git a/gui/kivy/uix/dialogs/checkpoint_dialog.py b/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') + ':'
diff --git a/gui/kivy/uix/ui_screens/network.kv b/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
diff --git a/gui/kivy/uix/ui_screens/proxy.kv b/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: ''