Skip to content

expand width on FileDownload #55

Description

@Jhsmit

I'd like the FileDownload the expand to the full width of a column / sidebar.

import solara

@solara.component
def Page():

    with solara.Sidebar():
        with solara.Column():
            solara.InputText(label="Text input")
            solara.Button(label='My button', block=True)
            solara.FileDownload(label='My file download', data='foobar')


    with solara.Column():
        solara.InputText(label="Text input")
        solara.Button(label='My button', block=True)
        solara.FileDownload(label='My file download', data='foobar')

gives:

image

I can make the button expand in width with block=True, but the FileDownload does not accept this kwarg.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions