linebender / druid

A data-first Rust-native UI design toolkit.
https://linebender.org/druid/
Apache License 2.0
9.51k stars 566 forks source link

Add missing layout widgets #659

Open cmyr opened 4 years ago

cmyr commented 4 years ago

There are a number of basic layout widgets in flutter that we don't have.

In any case: none of these are super-duper-urgent, but I think we would like to have all of them eventually.

kindlychung commented 4 years ago
JAicewizard commented 3 years ago

just a question, but how is drawing outside the window border being handled? would the OverflowBox clip the content on the edge of the window? or would it signal the window to grow somehow. If the later is chosen, will other widgets resize too? will the background be painted on the part of the window that wasn't there before. If the OverflowBox would grow the window without resizing or painting the background on the new area, it might be nice to use it for dropdowns, since they might not fit withing the window.

cmyr commented 3 years ago

Outside of the window or outside of the widget?

I do not expect us to support drawing outside of the window; for cases like drop-down menus, we will be creating new modal windows for the menu.