diff --git a/examples/demo/multistroke/main.py b/examples/demo/multistroke/main.py index da3e957c8..4178832ac 100644 --- a/examples/demo/multistroke/main.py +++ b/examples/demo/multistroke/main.py @@ -14,7 +14,7 @@ This demonstration code spans many files, with this being the primary file. The information pop-up ('No match') comes from the file helpers.py. The history pane is managed in the file historymanager.py and described in the file historymanager.kv. The database pane and storage is managed in -the file gestureDatabase.py and the described in the file gestureDatabase.kv. +the file gesturedatabase.py and the described in the file gesturedatabase.kv. The general logic of the sliders and buttons are in the file settings.py and described in settings.kv. but the actual settings pane is described in the file multistroke.kv and managed from this file. diff --git a/kivy/core/window/__init__.py b/kivy/core/window/__init__.py index 35d475e96..7b7abaf8c 100755 --- a/kivy/core/window/__init__.py +++ b/kivy/core/window/__init__.py @@ -534,8 +534,9 @@ class WindowBase(EventDispatcher): :attr:`rotation` is an :class:`~kivy.properties.AliasProperty`. ''' - softinput_mode = OptionProperty('', options=( - '', 'below_target', 'pan', 'scale', 'resize')) + softinput_mode = OptionProperty( + '', options=('', 'below_target', 'pan', 'scale', 'resize') + ) '''This specifies the behavior of window contents on display of the soft keyboard on mobile platforms. It can be one of '', 'pan', 'scale', 'resize' or 'below_target'. Their effects are listed below. @@ -559,7 +560,7 @@ class WindowBase(EventDispatcher): +----------------+-------------------------------------------------------+ :attr:`softinput_mode` is an :class:`~kivy.properties.OptionProperty` and - defaults to ``. + defaults to ''. .. note:: The `resize` option does not currently work with SDL2 on Android.