kivy updates
This commit is contained in:
@@ -25,7 +25,7 @@ Popup:
|
||||
id: button_fiat
|
||||
size_hint: 1, None
|
||||
height: '48dp'
|
||||
text: '<->'
|
||||
text: '/'
|
||||
on_release: a.is_fiat = not a.is_fiat
|
||||
|
||||
Widget:
|
||||
@@ -78,14 +78,22 @@ Popup:
|
||||
text: 'Max'
|
||||
on_release: a.amount = app.get_max_amount()
|
||||
|
||||
Widget:
|
||||
size_hint: 1, None
|
||||
|
||||
BoxLayout:
|
||||
size_hint: 1, None
|
||||
height: '48dp'
|
||||
Button:
|
||||
size_hint: 1, None
|
||||
height: '48dp'
|
||||
text: 'Clear'
|
||||
on_release: a.amount = ''
|
||||
Widget:
|
||||
size_hint: 0.7, None
|
||||
size_hint: 1, None
|
||||
height: '48dp'
|
||||
Button:
|
||||
size_hint: 0.3, None
|
||||
size_hint: 1, None
|
||||
height: '48dp'
|
||||
text: _('OK')
|
||||
on_release: popup.dismiss()
|
||||
|
||||
@@ -40,20 +40,13 @@ ReceiveScreen:
|
||||
size_hint: 1, None
|
||||
height: blue_bottom.item_height
|
||||
Image:
|
||||
source: 'atlas://gui/kivy/theming/light/bit_logo'
|
||||
source: 'atlas://gui/kivy/theming/light/globe'
|
||||
size_hint: None, None
|
||||
size: '22dp', '22dp'
|
||||
pos_hint: {'center_y': .5}
|
||||
Button:
|
||||
AmountButton:
|
||||
id: amount
|
||||
default_text: 'Amount (optional)'
|
||||
text: self.default_text
|
||||
text_size: (amount.width-15, None)
|
||||
halign: 'left'
|
||||
size_hint: 0.5, None
|
||||
height: '48dp'
|
||||
on_release: app.amount_dialog(amount, receive_screen.parent.update_qr, False)
|
||||
background_color: 0, 0, 0, 0
|
||||
CardSeparator:
|
||||
opacity: message_selection.opacity
|
||||
color: blue_bottom.foreground_color
|
||||
@@ -70,7 +63,7 @@ ReceiveScreen:
|
||||
pos_hint: {'center_y': .5}
|
||||
TextInputBlue:
|
||||
id: message
|
||||
hint_text: 'Description (optional)'
|
||||
hint_text: 'Description'
|
||||
on_text_validate: receive_screen.parent.update_qr()
|
||||
|
||||
BoxLayout:
|
||||
|
||||
@@ -64,20 +64,15 @@ SendScreen:
|
||||
size_hint: 1, None
|
||||
height: blue_bottom.item_height
|
||||
Image:
|
||||
source: 'atlas://gui/kivy/theming/light/bit_logo'
|
||||
source: 'atlas://gui/kivy/theming/light/globe'
|
||||
size_hint: None, None
|
||||
size: '22dp', '22dp'
|
||||
pos_hint: {'center_y': .5}
|
||||
Button:
|
||||
AmountButton:
|
||||
id: amount_e
|
||||
default_text: 'Amount'
|
||||
text: self.default_text
|
||||
text_size: (self.width-15, None)
|
||||
halign: 'left'
|
||||
size_hint: 0.5, None
|
||||
height: '48dp'
|
||||
on_release: app.amount_dialog(self, None, True)
|
||||
background_color: .238, .585, .878, 0
|
||||
|
||||
|
||||
CardSeparator:
|
||||
opacity: message_selection.opacity
|
||||
color: blue_bottom.foreground_color
|
||||
@@ -94,7 +89,7 @@ SendScreen:
|
||||
pos_hint: {'center_y': .5}
|
||||
TextInputBlue:
|
||||
id: message_e
|
||||
hint_text: 'Description (optional)'
|
||||
hint_text: 'Description'
|
||||
BoxLayout:
|
||||
size_hint: 1, None
|
||||
height: '48dp'
|
||||
|
||||
Reference in New Issue
Block a user