iced-rs / iced_aw

Additional widgets for the Iced GUI library
MIT License
467 stars 110 forks source link

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

Open Bilkin-V opened 6 months ago

Bilkin-V commented 6 months ago

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 commented 6 months ago

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

Bilkin-V commented 6 months ago

Ok thanks for your help!

genusistimelord commented 6 months ago

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.