Как добавитьRecycleView в KivyMD?

Перешел на KivyMD, и заодно на использование kv файла. Вот решил попробовать сделать горизонтальную прокрутку, но не знаю как. Хочу сделать инструкцию, От правда кнопки это такое, потом планирую найти что то другое, если не сложно, то подскажите пожалуйста Помогите, буде очень благодарен!

Вот часть кода:

.PY

class Rules(Screen):
    def __init__(self, **kwargs): 
        super(Rules, self).__init__(**kwargs) 
        self.data = [{'text': str(x)} for x in range(20)]

.KV

<Rules>:
    viewclass: 'MDRaisedButton'
    orientation: "horisontal"
    spacing: 40
    padding: 10, 10
    space_x: self.size[0]

    RecycleBoxLayout: 
        color:(0, 0.7, 0.4, 0.8) 
        default_size: None, dp(56) 

        # defines the size of the widget in reference to width and height 
        default_size_hint: 0.4, None 
        size_hint_y: None
        height: self.minimum_height 
        orientation: 'vertical' # defines the orientation of data items

    AnchorLayout:
        id: anchor
        anchor_x: "left"
        anchor_y: "top"
        padding: [10]
    
        MDIconButton:
            icon: "backburger"
            on_press: root.go_menu()

Ответы (0 шт):