Open johannesvollmer opened 3 years ago
Possible atomic design:
Sounds interesting! I believe the main challenge will be handling overlapping widgets properly.
Keep in mind that if there are no core library changes necessary to build such a widget, there is nothing stopping you from publishing it in your own crate! If changes are necessary, then we should focus on those here.
Also, if you want the community to maintain it, then I would consider submitting a PR to iced_aw
first!
Yes, I thought maybe this Widget would count as batteries included feature, especially when divided into two atomic widgets.
I'll try to build this, in my project, and I'll come back here in the unlikely case that any changes to iced would be needed:)
@johannesvollmer Have you made any progress on this sort of widget?
I think I never had any usable code, sorry
Hi! Thanks for creating iced, it's very pleasant to use.
I'm missing a specific container widget, that I would like to contribute to iced.
Discussed in https://github.com/hecrj/iced/discussions/969
Behaviour
Use Cases
My main concern is that this is quite a specific widget. Maybe together we can find one/multiple more generic and more flexible widgets that could be used to achieve the same behaviour? Maybe this could be split up into two widgets: A
Place Elements Anywhere
nested insideContainer which can zoom in and out on its content
.Otherwise, my plan would look approximately as follows:
What do you think? Would you welcome this contribution?