bugfix
This commit is contained in:
parent
fc3461f0d0
commit
594c020c93
@ -54,13 +54,13 @@ class OrientationLayout(WidgetReady, SwipeBehavior, FloatLayout):
|
|||||||
|
|
||||||
|
|
||||||
def on_ready(self,*args):
|
def on_ready(self,*args):
|
||||||
self.two_widget_layout()
|
Clock.schedule_once(self.two_widget_layout,0)
|
||||||
|
|
||||||
def on_size(self,*args):
|
def on_size(self,*args):
|
||||||
self.two_widget_layout()
|
Clock.schedule_once(self.two_widget_layout,0)
|
||||||
|
|
||||||
def on_pos(self,*args):
|
def on_pos(self,*args):
|
||||||
self.two_widget_layout()
|
Clock.schedule_once(self.two_widget_layout,0)
|
||||||
|
|
||||||
def two_widget_layout(self, *args):
|
def two_widget_layout(self, *args):
|
||||||
if not isinstance(self.widget_main, Widget) or not isinstance(self.widget_second, Widget):
|
if not isinstance(self.widget_main, Widget) or not isinstance(self.widget_second, Widget):
|
||||||
|
Loading…
Reference in New Issue
Block a user