This commit is contained in:
yumoqing 2019-12-22 23:20:46 +08:00
parent 9649019908
commit 35da623762

View File

@ -19,9 +19,10 @@ class PageContainer(FloatLayout):
# on_orientation=self.reshowBackButton)
def on_window_size(self,o,v=None):
print('on_window_size event fired ....',Window.size)
self.size = Window.size
self.reshowBackButton()
if self.size != Window.size:
print('on_window_size event fired ....',Window.size)
self.size = Window.size
self.reshowBackButton()
def reshowBackButton(self,o=None,v=None):
print(self.size)