kivy: minor GUI tweaks
This commit is contained in:
@@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
<TextInput>
|
<TextInput>
|
||||||
on_focus: app._focused_widget = root
|
on_focus: app._focused_widget = root
|
||||||
|
font_size: '18sp'
|
||||||
|
|
||||||
<Button>
|
<Button>
|
||||||
on_parent: self.MIN_STATE_TIME = 0.1
|
on_parent: self.MIN_STATE_TIME = 0.1
|
||||||
|
|||||||
@@ -43,10 +43,11 @@ Builder.load_string('''
|
|||||||
height: '36dp'
|
height: '36dp'
|
||||||
TextInput:
|
TextInput:
|
||||||
id: height_input
|
id: height_input
|
||||||
|
multiline: False
|
||||||
|
input_type: 'number'
|
||||||
height: '36dp'
|
height: '36dp'
|
||||||
size_hint_y: None
|
size_hint_y: None
|
||||||
text: '%d'%root.cp_height
|
text: '%d'%root.cp_height
|
||||||
input_type: 'number'
|
|
||||||
on_focus: root.on_height_str()
|
on_focus: root.on_height_str()
|
||||||
TopLabel:
|
TopLabel:
|
||||||
text: _('Block hash') + ':'
|
text: _('Block hash') + ':'
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ Popup:
|
|||||||
padding: '10dp'
|
padding: '10dp'
|
||||||
spacing: '10dp'
|
spacing: '10dp'
|
||||||
TopLabel:
|
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'
|
font_size: '6pt'
|
||||||
Widget:
|
Widget:
|
||||||
size_hint: 1, 0.8
|
size_hint: 1, 0.8
|
||||||
@@ -21,6 +21,7 @@ Popup:
|
|||||||
text: _('Host') + ':'
|
text: _('Host') + ':'
|
||||||
TextInput:
|
TextInput:
|
||||||
id: host
|
id: host
|
||||||
|
multiline: False
|
||||||
height: '36dp'
|
height: '36dp'
|
||||||
size_hint_x: 3
|
size_hint_x: 3
|
||||||
size_hint_y: None
|
size_hint_y: None
|
||||||
@@ -40,6 +41,7 @@ Popup:
|
|||||||
text: _('Port') + ':'
|
text: _('Port') + ':'
|
||||||
TextInput:
|
TextInput:
|
||||||
id: port
|
id: port
|
||||||
|
multiline: False
|
||||||
input_type: 'number'
|
input_type: 'number'
|
||||||
height: '36dp'
|
height: '36dp'
|
||||||
size_hint_x: 3
|
size_hint_x: 3
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ Popup:
|
|||||||
text: _('Host')
|
text: _('Host')
|
||||||
TextInput:
|
TextInput:
|
||||||
id: host
|
id: host
|
||||||
|
multiline: False
|
||||||
height: '48dp'
|
height: '48dp'
|
||||||
size_hint_y: None
|
size_hint_y: None
|
||||||
text: ''
|
text: ''
|
||||||
@@ -27,6 +28,8 @@ Popup:
|
|||||||
text: _('Port')
|
text: _('Port')
|
||||||
TextInput:
|
TextInput:
|
||||||
id: port
|
id: port
|
||||||
|
multiline: False
|
||||||
|
input_type: 'number'
|
||||||
height: '48dp'
|
height: '48dp'
|
||||||
size_hint_y: None
|
size_hint_y: None
|
||||||
text: ''
|
text: ''
|
||||||
@@ -35,6 +38,7 @@ Popup:
|
|||||||
text: _('Username')
|
text: _('Username')
|
||||||
TextInput:
|
TextInput:
|
||||||
id: user
|
id: user
|
||||||
|
multiline: False
|
||||||
height: '48dp'
|
height: '48dp'
|
||||||
size_hint_y: None
|
size_hint_y: None
|
||||||
text: ''
|
text: ''
|
||||||
@@ -43,6 +47,8 @@ Popup:
|
|||||||
text: _('Password')
|
text: _('Password')
|
||||||
TextInput:
|
TextInput:
|
||||||
id: password
|
id: password
|
||||||
|
multiline: False
|
||||||
|
password: True
|
||||||
height: '48dp'
|
height: '48dp'
|
||||||
size_hint_y: None
|
size_hint_y: None
|
||||||
text: ''
|
text: ''
|
||||||
|
|||||||
Reference in New Issue
Block a user