MCPcopy Create free account
hub / github.com/rawpython/remi / set_row_sizes

Method set_row_sizes

remi/gui.py:1799–1805  ·  view source on GitHub ↗

Sets the size value for each row Args: values (iterable of int or str): values are treated as percentage.

(self, values)

Source from the content-addressed store, hash-verified

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

Callers 1

set_from_asciiartMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected