O
O
onlooked2016-02-12 18:57:44
Python
onlooked, 2016-02-12 18:57:44

How to put a GridLayout inside a Layout?

There is this kv markup code:

<Layout>:
  id: main_layout
  orientation: 'vertical'
  Button:
    text: '1'
  Button:
    text: '2'
  Button:
    text:'3

How can I insert a GridLayout instead of the second button. If you stupidly replace the button with layout, it gives an error. how is it done humanly?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question