I cannot seem to get the text to align on the left of a dbc ModalFooter. I have tried surrounding the 2 footer items in dbc.Col and setting widths. I have tried surrounding in dbc.Row and using justify. It seems that the text wants to start over to the right no matter what I do. How can I get the text in the footer left justified and the button right justified?
#!/usr/bin/env python3
"""Minimal dash program."""
from dash import Dash, html
import dash_bootstrap_components as dbc
app = Dash(__name__, external_stylesheets=[dbc.themes.BOOTSTRAP])
app.layout = dbc.Container(dbc.Modal([dbc.ModalHeader(dbc.ModalTitle('Modal')),
dbc.ModalBody(html.Div('Body of Modal')),
dbc.ModalFooter(['Modal Footer', dbc.Button('Cancel')])],
is_open=True))
if __name__ == '__main__':
app.run_server(debug=True)