commit 6ba43637f58b312e27df514fdf3ec54d430504e0
parent 08e5aecee244f0b8c52e5442b8f4519e86eed912
Author: ThomasV <thomasv@electrum.org>
Date: Thu, 28 Jan 2016 15:49:03 +0100
kivy: use softinput_mode='pan' in wizard
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/gui/kivy/uix/dialogs/create_restore.py b/gui/kivy/uix/dialogs/create_restore.py
@@ -251,6 +251,7 @@ class WizardDialog(EventsDialog):
Window.bind(size=_trigger_size_dialog,
rotation=_trigger_size_dialog)
_trigger_size_dialog()
+ Window.softinput_mode = 'pan'
def _size_dialog(self, dt):
app = App.get_running_app()
@@ -275,6 +276,8 @@ class WizardDialog(EventsDialog):
if app.wallet is None and self._on_release is not None:
print "on dismiss: stopping app"
app.stop()
+ else:
+ Window.softinput_mode = 'below_target'
class CreateRestoreDialog(WizardDialog):