toloka.client.project.template_builder.layouts.SideBySideLayoutV1
| Source code
SideBySideLayoutV1( self, controls: Optional[BaseComponent] = None, items: Optional[Union[BaseComponent, List[BaseComponent]]] = None, *, min_item_width: Optional[Union[BaseComponent, float]] = None, validation: Optional[BaseComponent] = None, version: Optional[str] = '1.0.0')
A layout with several blocks of the same width on a single horizontal panel.
For more information, see layout.side-by-side.
Parameters | Type | Description |
---|---|---|
controls | Optional[BaseComponent] | A component with controls. |
items | Optional[Union[BaseComponent, List[BaseComponent]]] | A list of blocks. |
min_item_width | Optional[Union[BaseComponent, float]] | The minimum width of a block, at least 400 pixels. |
validation | Optional[BaseComponent] | Validation rules. |
Last updated: August 28, 2023