kivy: use softinput_mode='pan' in wizard

This commit is contained in:
ThomasV 2016-01-28 15:49:03 +01:00
parent 08e5aecee2
commit 6ba43637f5
1 changed files with 3 additions and 0 deletions

View File

@ -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):