๐Ÿ–Œ egui v0.5.0 Release Notes

Release Date: 2020-12-13 // over 3 years ago
  • โž• Added โญ

    • ๐Ÿ‘ Emoji support: 1216 different emojis that work in any text.
      • The Demo app comes with a Font Book to explore the available glyphs.
    • ๐Ÿ’ป ui.horizontal_wrapped(|ui| ...): Add widgets on a row but wrap at max_size.
    • ui.horizontal_wrapped_for_text: Like ui.horizontal_wrapped, but with spacing made for embedding text.
    • ui.horizontal_for_text: Like ui.horizontal, but with spacing made for embedding text.
    • egui::Layout now supports justified layouts where contents is also centered, right-aligned, etc.
    • ๐Ÿ’ป ui.allocate_ui(size, |ui| ...): Easily create a child-Ui of a given size.
    • ๐Ÿ’ป SelectableLabel (ui.selectable_label and ui.selectable_value): A text-button that can be selected.
    • ๐Ÿ’ป ui.small_button: A smaller button that looks good embedded in text.
    • ui.drag_angle_tau: For those who want to specify angles as fractions of ฯ„ (a full turn).
    • Add Resize::id_source and ScrollArea::id_source to let the user avoid Id clashes.

    ๐Ÿ”„ Changed ๐Ÿ”ง

    • ๐Ÿ†• New default font: Ubuntu-Light.
    • ๐Ÿ‘‰ Make it simpler to override fonts in FontDefinitions.
    • โœ‚ Remove minimum button width.
    • ๐Ÿ”จ Refactor egui::Layout substantially, changing its interface.
    • Calling on_hover_text/on_hover_ui multiple times will stack tooltips underneath the previous ones.
    • Text wrapping on labels, buttons, checkboxes and radio buttons is now based on the layout.

    โœ‚ Removed ๐Ÿ”ฅ

    • โœ‚ Removed the label! macro.