This commit is contained in:
yumoqing 2021-02-21 20:30:16 +08:00
parent bd72cbc5aa
commit a1d4455fb2

View File

@ -19,6 +19,7 @@ class ScrollWidget(ScrollView):
def change_all_sized_widgets(self, *args): def change_all_sized_widgets(self, *args):
for w in self.sized_widgets: for w in self.sized_widgets:
self.change_widget_width(w) self.change_widget_width(w)
self._inner.do_layout()
def change_widget_width(self, w): def change_widget_width(self, w):
w.size_hint_x = None w.size_hint_x = None