This commit is contained in:
yumoqing 2020-08-25 17:13:12 +08:00
parent 65db72fc2c
commit deee578398

View File

@ -107,7 +107,9 @@ class OrientationLayout(WidgetReady, SwipeBehavior, FloatLayout):
def main_widget_built(self,o,w): def main_widget_built(self,o,w):
print('main_widget_built() called ...') print('main_widget_built() called ...')
self.widget_main = w self.widget_main = w
self.add_widget(self.widget_main)
if isinstance(self.widget_main, Widget) and isinstance(self.widget_second, Widget): if isinstance(self.widget_main, Widget) and isinstance(self.widget_second, Widget):
print('ready() called ..')
self.reready() self.reready()