Skip to content

hello_egui 0.7.0 - flex improvements and egui 0.30.0

Compare
Choose a tag to compare
@lucasmerlin lucasmerlin released this 19 Dec 13:47
· 3 commits to main since this release

hello_egui and all individual crates were updated for egui 0.30.0.

There are no big exciting new things, but there were a lot of fixes to egui_flex:

  • Add ways to specify the flex container size, via Flex::width and related methods
  • Implement Flex::justify
  • Change Flex::align_content default to stretch to match the css flexbox behavior
  • Improved textedit flex widget behaviour
  • Change the default of Flex::wrap to false
  • Change the way the FlexWidget trait works, making it more similar to egui::Widget
  • Add lots of tests with egui_kittest
  • Remove FlexAlignContent::Normal and make FlexAlignContent::Stretch the default
  • Add FlexItem::shrink which allows a single item to shrink
  • Add FlexItem::frame to customize the frame of a single item
  • Add FlexItem::transform to set a visual egui::TSTransform transform for an item
  • Add FlexItem::frame_builder to customize the frame of a single item via a closure