@@ -156,11 +156,15 @@ distribute the free space proportionally.
156156 them. If one of the items has a value of 2, that one would take up twice as much of the space as either one of the
157157 others.
158158
159+ **Cell positioning:**
160+
159161Child widgets can be placed on the grid using the `grid_cell_row_pos` and `grid_cell_column_pos` configuration
160162variables.
161163If either is specified both must be specified. If neither is specified the widget will be placed in the first available
162164position, in a row-major order.
163165Row and column spans will be taken into account when reserving space.
166+ Two or more widgets may not be explicitly assigned the same row and column positions unless the option
167+ ` multiple_widgets_per_cell` is set to `true`.
164168
165169# ### Shorthand
166170
@@ -181,9 +185,9 @@ columns, with all rows and columns of equal size. For example `layout: 2x3` is a
181185 pixels. Possible options below.
182186- **pad_row** (*Optional*, int16): Set the padding between the rows, in pixels.
183187- **pad_column** (*Optional*, int16): Set the padding between the columns, in pixels.
188+ - **multiple_widgets_per_cell** (*Optional*, bool): If true, multiple widgets can be placed in the same cell. Defaults to `false`.
184189
185- In a grid layout, *all the widgets placed on the grid* can have some additional configuration variables to help with
186- placement :
190+ In a grid layout, all child widgets placed on the grid have additional configuration options available :
187191
188192- **grid_cell_row_pos** (*Optional*, int16): Position of the widget, in which row to appear (0 based count).
189193- **grid_cell_column_pos** (*Optional*, int16): Position of the widget, in which column to appear (0 based count).
0 commit comments