Sets the size value for each row Args: values (iterable of int or str): values are treated as percentage.
(self, values)
| 1797 | self.css_grid_template_columns = ' '.join(map(lambda value: (str(value) if str(value).endswith('%') else str(value) + '%') , values)) |
| 1798 | |
| 1799 | def set_row_sizes(self, values): |
| 1800 | """Sets the size value for each row |
| 1801 | |
| 1802 | Args: |
| 1803 | values (iterable of int or str): values are treated as percentage. |
| 1804 | """ |
| 1805 | self.css_grid_template_rows = ' '.join(map(lambda value: (str(value) if str(value).endswith('%') else str(value) + '%') , values)) |
| 1806 | |
| 1807 | def set_column_gap(self, value): |
| 1808 | """Sets the gap value between columns |