๐ 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 atmax_size
. ui.horizontal_wrapped_for_text
: Likeui.horizontal_wrapped
, but with spacing made for embedding text.ui.horizontal_for_text
: Likeui.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
andui.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
andScrollArea::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.
- ๐ Emoji support: 1216 different emojis that work in any text.