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

Is there anyway to move add margins around a modal's overlay? #238

Open
Bilkin-V opened this issue May 4, 2024 · 3 comments
Open

Is there anyway to move add margins around a modal's overlay? #238

Bilkin-V opened this issue May 4, 2024 · 3 comments

Comments

@Bilkin-V
Copy link

Bilkin-V commented May 4, 2024

I want to create a modal aligned to the left and bottom. However, I wish for a little padding between it and the borders of the application window. How can I achieve this?

@genusistimelord
Copy link
Collaborator

there currently is no way to do that without modifying the modal struct to add in new features.

@Bilkin-V
Copy link
Author

Bilkin-V commented May 5, 2024

Ok thanks for your help!

@genusistimelord
Copy link
Collaborator

just FYI modal and floating element will be depreciated for iced 0.14 as Stack inside Iced allows for more custom Widgets and Floating Elements.

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