Skip to content

Commit 47fb9fb

Browse files
JAicewizardcmyr
andauthored
Don't use widgets for padding in Flex (#1584)
* move spacers away from being widget backed * small cleanup * other implementation * fix?? * small performance improvements * undo changes in example * undo changes in example * undo changes in example * fmt * add changelog * mode to struct fields and add `.widget{_mut}` method on flex children * fmt * _even better_ nice looking stuff * Update druid/src/widget/flex.rs Co-authored-by: Colin Rofls <colin@cmyr.net> * Update druid/src/widget/flex.rs Co-authored-by: Colin Rofls <colin@cmyr.net> * Update druid/src/widget/flex.rs Co-authored-by: Colin Rofls <colin@cmyr.net> * Apply suggestions from code review Co-authored-by: Colin Rofls <colin@cmyr.net>
1 parent e870ada commit 47fb9fb

File tree

2 files changed

+162
-122
lines changed

2 files changed

+162
-122
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ You can find its changes [documented below](#070---2021-01-01).
2626
- Warn on unhandled Commands ([#1533] by [@Maan2003])
2727
- `WindowDesc::new` takes the root widget directly instead of a closure ([#1559] by [@lassipulkkinen])
2828
- Switch to trace-based logging ([#1562] by [@PoignardAzur])
29+
- Spacers in `Flex` are now implemented by calculating the space in `Flex` instead of creating a widget for it ([#1584] by [@JAicewizard])
2930

3031
### Deprecated
3132

0 commit comments

Comments
 (0)