From 65db72fc2c7c2975705724578d1d3a8dfe3a7132 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 25 Aug 2020 11:47:20 +0800 Subject: [PATCH] bugfix --- kivyblocks/orientationlayout.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kivyblocks/orientationlayout.py b/kivyblocks/orientationlayout.py index 2bbaf46..e61b6c2 100644 --- a/kivyblocks/orientationlayout.py +++ b/kivyblocks/orientationlayout.py @@ -88,6 +88,7 @@ class OrientationLayout(WidgetReady, SwipeBehavior, FloatLayout): if self.second_flg: self.add_widget(self.widget_second) + def vertical_layout(self): self.widget_main.width = self.width self.widget_main.height = self.width / 16 * 10