@@ -445,9 +445,7 @@ def _set_size(self, size):
445
445
and defaults to True.
446
446
'''
447
447
448
- size = AliasProperty (_get_size , _set_size ,
449
- bind = ('_size' , '_rotation' , 'softinput_mode' ,
450
- 'keyboard_height' ))
448
+ size = AliasProperty (_get_size , _set_size , bind = ('_size' , '_rotation' ))
451
449
'''Get the rotated size of the window. If :attr:`rotation` is set, then the
452
450
size will change to reflect the rotation.
453
451
@@ -492,7 +490,7 @@ def _get_width(self):
492
490
return _size [0 ]
493
491
return _size [1 ]
494
492
495
- width = AliasProperty (_get_width , None , bind = ('_rotation' , '_size' ))
493
+ width = AliasProperty (_get_width , bind = ('_rotation' , '_size' ))
496
494
'''Rotated window width.
497
495
498
496
:attr:`width` is a read-only :class:`~kivy.properties.AliasProperty`.
@@ -509,9 +507,7 @@ def _get_height(self):
509
507
return _size [1 ] - kb
510
508
return _size [0 ] - kb
511
509
512
- height = AliasProperty (_get_height , None ,
513
- bind = ('_rotation' , '_size' , 'softinput_mode' ,
514
- 'keyboard_height' ))
510
+ height = AliasProperty (_get_height , bind = ('_rotation' , '_size' ))
515
511
'''Rotated window height.
516
512
517
513
:attr:`height` is a read-only :class:`~kivy.properties.AliasProperty`.
@@ -697,9 +693,7 @@ def _get_system_size(self):
697
693
return self ._size
698
694
699
695
system_size = AliasProperty (_get_system_size , _set_system_size ,
700
- bind = ('_size' , 'softinput_mode' ,
701
- 'keyboard_height' ),
702
- cache = True )
696
+ bind = ('_size' ,))
703
697
'''Real size of the window ignoring rotation. If the density is
704
698
not 1, the :attr:`system_size` is the :attr:`size` divided by
705
699
density.
0 commit comments