tkivy: minor GUI tweaks - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit e7b136cc6bd44735ce1891309b041ad6a558a306 (DIR) parent 14a3d49f81a12062ceea7308de826511bfc89f75 (HTM) Author: ThomasV <thomasv@electrum.org> Date: Tue, 28 Mar 2017 09:44:11 +0200 kivy: minor GUI tweaks Diffstat: M gui/kivy/main.kv | 1 + M gui/kivy/uix/dialogs/checkpoint_di… | 3 ++- M gui/kivy/uix/ui_screens/network.kv | 4 +++- M gui/kivy/uix/ui_screens/proxy.kv | 6 ++++++ 4 files changed, 12 insertions(+), 2 deletions(-) --- (DIR) diff --git a/gui/kivy/main.kv b/gui/kivy/main.kv t@@ -17,6 +17,7 @@ <TextInput> on_focus: app._focused_widget = root + font_size: '18sp' <Button> on_parent: self.MIN_STATE_TIME = 0.1 (DIR) diff --git a/gui/kivy/uix/dialogs/checkpoint_dialog.py b/gui/kivy/uix/dialogs/checkpoint_dialog.py t@@ -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') + ':' (DIR) diff --git a/gui/kivy/uix/ui_screens/network.kv b/gui/kivy/uix/ui_screens/network.kv t@@ -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 t@@ -21,6 +21,7 @@ Popup: text: _('Host') + ':' TextInput: id: host + multiline: False height: '36dp' size_hint_x: 3 size_hint_y: None t@@ -40,6 +41,7 @@ Popup: text: _('Port') + ':' TextInput: id: port + multiline: False input_type: 'number' height: '36dp' size_hint_x: 3 (DIR) diff --git a/gui/kivy/uix/ui_screens/proxy.kv b/gui/kivy/uix/ui_screens/proxy.kv t@@ -19,6 +19,7 @@ Popup: text: _('Host') TextInput: id: host + multiline: False height: '48dp' size_hint_y: None text: '' t@@ -27,6 +28,8 @@ Popup: text: _('Port') TextInput: id: port + multiline: False + input_type: 'number' height: '48dp' size_hint_y: None text: '' t@@ -35,6 +38,7 @@ Popup: text: _('Username') TextInput: id: user + multiline: False height: '48dp' size_hint_y: None text: '' t@@ -43,6 +47,8 @@ Popup: text: _('Password') TextInput: id: password + multiline: False + password: True height: '48dp' size_hint_y: None text: ''