【发布时间】:2019-06-01 23:16:06
【问题描述】:
我在 ScrollView 中有一个 GridLayout,但由于某种原因,我无法滚动 GridLayout。我最初使用 BoxLayout,但从另一个答案中看到使用 GridLayout 更好。
kv:
<ScreenTwo>
id: screen_two
name: "two"
on_leave: app.restart()
on_enter: app.display_btn()
GridLayout:
cols: 2
rows: 1
ScrollView:
do_scroll_x: False
do_scroll_y: True
GridLayout:
cols: 1
id: streak_zone
height: self.minimum_height
...
【问题讨论】: