shapelets.apps.DataApp.vertical_layout#

DataApp.vertical_layout(title: str = None, panel_id: str = None, vertical_align: Optional[Literal['start', 'center', 'end']] = 'start', span: int = None, offset: int = None, **additional) VerticalLayoutWidget#

Creates a layout that holds widget inside it vertically (stacked on-top of one another).

Parameters:
titlestr, optional

String with the Panel title. It will be placed on top of the Panel.

panel_idstr, optional

Panel ID.

vertical_align: str, optional

Select how widgets are align vertically: start, center, end. Default: start.

span: int, optional

Columns for this vertical layout, The column grid system is a value of 1-24 to represent its range spans.

offset: int, optional

Offset can set the column to the right side. Values of 1-24

Returns:
VerticalLayout.

Examples

>>> vl = app.vertical_layout()
>>> # Create buttons and place multiple text inputs in the vertical layout
>>> txt1 = app.text_input("Text input #1")
>>> vl.place(txt1)

Bind compatibility

You can bind this widget with this:

Bindable as

You can bind this widget as:

Currently this widget cannot be used as input in a binding function.