Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shrinkWrap option for short item list #29

Open
alandotic opened this issue Jan 27, 2021 · 1 comment
Open

shrinkWrap option for short item list #29

alandotic opened this issue Jan 27, 2021 · 1 comment

Comments

@alandotic
Copy link

Is there a way to set the height of the pop up modal? i would want the modal to be smaller if the item size is small

@sigrlami
Copy link

sigrlami commented Oct 1, 2021

@alandotic you already have an option for that constrain, create dialog widget and set maxHeight, see

SelectDialog.showModal<String>(
     context,
     constraints: BoxConstraints(maxHeight: 150),
     ...
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants