This is a follow up to #1560 I noticed a couple small issues with resizable panels and their use in docks after experimenting a lot: - Sometimes the resizable group would take about ~500ms to update after a resize. This was caused by the `StackPanel` not getting notified and therefore not redrawn when the `ResizableState` was notified, as well as the notify in `adjust_to_container_size` not actually firing properly. The latter was fixed by defering the notify, though I'm still not quite sure why that is necessary. - In a couple of places, the total size all the panel missmatches the container size, causing small glitches the first time a panel is resized. Update the code in those places to properly adjust all the panel sizes so they match the container size. --------- Co-authored-by: Jason Lee <huacnlee@gmail.com> |
||
|---|---|---|
| .. | ||
| assets | ||
| macros | ||
| reqwest_client | ||
| story | ||
| ui | ||