tkivy: switch position/size of camera and clear buttons - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 81dc2591b14c5f9b90959b931ad1160bfca00266 DIR parent e5e512df8c95ec91df43d1c5d3e348c4e124a157 HTML Author: ThomasV <thomasv@electrum.org> Date: Tue, 10 Mar 2020 19:01:16 +0100 kivy: switch position/size of camera and clear buttons Diffstat: M electrum/gui/kivy/uix/ui_screens/s… | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) --- DIR diff --git a/electrum/gui/kivy/uix/ui_screens/send.kv b/electrum/gui/kivy/uix/ui_screens/send.kv t@@ -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