vertical scrolling on horizontal recycleview is not working

66 views
Skip to first unread message

Poorya bolooryan

unread,
Jun 7, 2020, 8:37:25 AM6/7/20
to Kivy users support
dears,
i wrote nested layout include horizontal recycleview for some items and vertical scrollview for the main Layout.the problem is vertical scrolling not working when it reach to the horizontal recycleview. it means i can not scroll down or up on the horizontal recycleview areas.
please see the below code:

MDBoxLayout:
ScrollView:
MDGridLayout:
# Main Background
adaptive_height: True
cols: 1
padding: [0,10,0,0]
MDGridLayout:
# catagories space
cols: 1
adaptive_height: True
padding: 10
spacing: 20
MDGridLayout:
cols:1
MDLabel:
text:app.text4
halign: "right"
font_style: "Subtitle1"
MDGridLayout:
cols:1
size_hint_y: None
height: 173
id : view

MDGridLayout:
cols:1
MDLabel:
text:app.text5
halign: "right"
font_style: "Subtitle1"

id:view where that horizontal recycleview placed.

Elliot Garbus

unread,
Jun 7, 2020, 9:58:10 AM6/7/20
to kivy-...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/62024b49-7d0d-4042-835c-a2bade298921o%40googlegroups.com.

 

Poorya bolooryan

unread,
Jun 7, 2020, 10:39:34 AM6/7/20
to Kivy users support
so any solution yet?
i tried to make it with horizontal X scrollview unfortunately i faced the same result.it means that you can not add Vertical and horizontal scrolling in the same page !!

To unsubscribe from this group and stop receiving emails from it, send an email to kivy-...@googlegroups.com.

Elliot Garbus

unread,
Jun 7, 2020, 10:59:19 AM6/7/20
to kivy-...@googlegroups.com

As far as I know you should be able to have a horizontal ScrollView and vertical ScrollView on the same page.  The issue is nesting one Scrollview in another Scrollview.

To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/3fb7b4e5-4961-4773-a21a-c09945fe06cao%40googlegroups.com.

 

Elliot Garbus

unread,
Jun 7, 2020, 11:01:59 AM6/7/20
to kivy-...@googlegroups.com

A workaround would be to use horizontal and vertical scrolling at the top level.

To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/3fb7b4e5-4961-4773-a21a-c09945fe06cao%40googlegroups.com.

 

Poorya bolooryan

unread,
Jun 8, 2020, 6:19:38 AM6/8/20
to Kivy users support
scroll_x and scroll_y are working for whole layout.what i need is nested horizontal recycle view inside the main layout.exactly like the issue in github.please let me know if any solution for this.
Reply all
Reply to author
Forward
0 new messages