From 81dc2591b14c5f9b90959b931ad1160bfca00266 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Tue, 10 Mar 2020 19:01:16 +0100 Subject: [PATCH] kivy: switch position/size of camera and clear buttons --- electrum/gui/kivy/uix/ui_screens/send.kv | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/electrum/gui/kivy/uix/ui_screens/send.kv b/electrum/gui/kivy/uix/ui_screens/send.kv index 8b394be09..8a211232f 100644 --- a/electrum/gui/kivy/uix/ui_screens/send.kv +++ b/electrum/gui/kivy/uix/ui_screens/send.kv @@ -158,17 +158,17 @@ icon: 'atlas://electrum/gui/kivy/theming/light/save' IconButton: size_hint: 0.5, 1 - icon: 'atlas://electrum/gui/kivy/theming/light/copy' - on_release: s.do_paste() + on_release: s.do_clear() + icon: 'atlas://electrum/gui/kivy/theming/light/closebutton' IconButton: - id: qr size_hint: 0.5, 1 - on_release: Clock.schedule_once(lambda dt: app.scan_qr(on_complete=app.on_qr)) - icon: 'atlas://electrum/gui/kivy/theming/light/camera' + icon: 'atlas://electrum/gui/kivy/theming/light/copy' + on_release: s.do_paste() Button: - text: _('Clear') + id: qr + text:_('Scan') size_hint: 1, 1 - on_release: s.do_clear() + on_release: Clock.schedule_once(lambda dt: app.scan_qr(on_complete=app.on_qr)) Button: text: _('Pay') size_hint: 1, 1