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

View File

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