take account device density, for softinput_mode
This commit is contained in:
parent
72cbbd9710
commit
2d174322da
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ class IOSKeyboard(object):
|
|||
|
||||
@protocol('KeyboardDelegates')
|
||||
def keyboardWillShow(self, notification):
|
||||
self.kheight = notification.userInfo().objectForKey_(
|
||||
self.kheight = get_scale() * notification.userInfo().objectForKey_(
|
||||
'UIKeyboardFrameEndUserInfoKey').CGRectValue().size.height
|
||||
from kivy.core.window import Window
|
||||
Window.trigger_keyboard_height()
|
||||
|
|
Loading…
Reference in a new issue