Browse Source

kivy: tweaks

283
ThomasV 9 years ago
parent
commit
346307d249
  1. 1
      gui/kivy/uix/ui_screens/amount.kv
  2. 4
      gui/kivy/uix/ui_screens/password.kv

1
gui/kivy/uix/ui_screens/amount.kv

@ -20,6 +20,7 @@ Popup:
fiat_text: (kb.fiat_amount + ' ' + app.fiat_unit) if kb.fiat_amount else '' fiat_text: (kb.fiat_amount + ' ' + app.fiat_unit) if kb.fiat_amount else ''
text: (self.fiat_text + ' / ' + self.btc_text if kb.is_fiat else self.btc_text + ' / ' + self.fiat_text) if self.btc_text else '' text: (self.fiat_text + ' / ' + self.btc_text if kb.is_fiat else self.btc_text + ' / ' + self.fiat_text) if self.btc_text else ''
size_hint: 1, 1 size_hint: 1, 1
font_size: '22dp'
Widget: Widget:
size_hint: 1, 1 size_hint: 1, 1
GridLayout: GridLayout:

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

@ -1,14 +1,16 @@
Popup: Popup:
id: popup id: popup
title: _('Enter PIN Code') title: _('Enter PIN Code')
size_hint: 0.9, 0.9
BoxLayout: BoxLayout:
orientation: 'vertical' orientation: 'vertical'
size_hint: 0.8, 1
Label: Label:
id: a id: a
text: '*'*len(kb.password) text: ' * '*len(kb.password) + ' o '*(6-len(kb.password))
size_hint: 1, None size_hint: 1, None
height: '48dp' height: '48dp'

Loading…
Cancel
Save