How to make widget span multiple columns / rows in gridlayout in kivy

I would like to create an application in kivy with widgets in the grid, and I want some widgets to be larger - occupy more than one cell in the grid.

GridLayout It seems most appropriate, but does not seem to support placing widgets in multiple cells.

To be more specific, I want the behavior to be similar to Tkinter's grid geometry manager when installed columnspanor rowspanmore than 1.

Like this:

(widget)(widget)(widget)
( bigger widget )(widget)
...

I would prefer to do this using existing kiv layouts, instead of writing my own layout class to handle this, but if there is no other option, this is fine too.

+4
2

, GridLayout , .

, , , Layout, do_layout.

SparseGridLayout, . ... , , , , !

, , - gridlayout , , , .

+1

GridLayout 1 BoxLayout = " ". BoxLayout (), .

BoxLayout: http://kivy.org/docs/api-kivy.uix.boxlayout.html

+2

Source: https://habr.com/ru/post/1526440/


All Articles