You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The expectation was the Multiselect will grow to take all available space and the Menu button will be just there. I am using flexGrow - was trying to play with align and justify parameters and nothing seems to force the multiselect to take all available space.
dash._dash_renderer._set_react_version('18.2.0')
app=Dash(__name__, url_base_pathname="/", external_stylesheets=[dbc.themes.BOOTSTRAP] +dmc.styles.ALL)
app.layout=dmc.MantineProvider(children=[dmc.Grid([
dmc.GridCol(span=6, p=20, m=20, children=dmc.Group(
[
dmc.MultiSelect(label='Select Data', id='database_specific_input_selection_batch_processing', searchable=True, clearable=True,
leftSection=DashIconify(icon="radix-icons:magnifying-glass"), style={'flexGrow': 1},
description="If no specific data is selected, functions will be applied to all filtered data."),
dmc.Menu(children=[
dmc.MenuTarget(dmc.ActionIcon(DashIconify(icon="solar:filter-bold"), variant="filled", size='lg', color='blue', id='filter_batch_processing_menu', disabled=True)),
dmc.MenuDropdown(
children=[
dmc.MenuItem('Filtering Menu', color='blue', id='filter_batch_processing_data', ),
dmc.MenuItem('Reset to Default Filter', color='red', id='reset_batch_processing_data_under_menu', )
]
),
]),
], align='flex-end', justify='space-around'
)),
]),
])
if__name__=="__main__":
app.run_server(debug=True)
Is it something I am doing wrong?
The text was updated successfully, but these errors were encountered:
The expectation was the Multiselect will grow to take all available space and the Menu button will be just there. I am using
flexGrow
- was trying to play with align and justify parameters and nothing seems to force the multiselect to take all available space.Is it something I am doing wrong?
The text was updated successfully, but these errors were encountered: