-
-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
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?
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed