kivy: tweaks

This commit is contained in:
ThomasV 2015-12-07 16:43:18 +01:00
parent 1c7f3c65e2
commit 346307d249
2 changed files with 4 additions and 1 deletions

View File

@ -20,6 +20,7 @@ Popup:
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 ''
size_hint: 1, 1
font_size: '22dp'
Widget:
size_hint: 1, 1
GridLayout:

View File

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