๐ egui v0.16.0 Release Notes
Release Date: 2021-12-29 // over 2 years ago-
โ Added โญ
- Added context menus: See
Ui::menu_button
andResponse::context_menu
(#543). - ๐ Most widgets containing text (
Label
,Button
etc) now supports rich text (#855). - Plots:
- You can now read and write the cursor of a
TextEdit
(#848). - When using a custom font you can now specify a font index (#873).
- โ Added vertical sliders with
Slider::new(โฆ).vertical()
(#875). - Added
Button::image_and_text
(#832). - โ Added
CollapsingHeader::open
to control if it is open or collapsed (#1006). - Added
egui::widgets::color_picker::color_picker_color32
to show the color picker.
๐ Changed ๐ง
- ๐ MSRV (Minimum Supported Rust Version) is now
1.56.0
. - ๐ป
ui.add(Button::new("โฆ").text_color(โฆ))
is nowui.button(RichText::new("โฆ").color(โฆ))
(same forLabel
)(#855). - Plots now provide a
show
method that has to be used to add items to and show the plot (#766). - ๐ป
menu::menu(ui, ...)
is nowui.menu_button(...)
(#543) - Replaced
CtxRef::begin_frame
andend_frame
withCtxRef::run
(#872). - Replaced
scroll_delta
andzoom_delta
inRawInput
withEvent::Scroll
andEvent::Zoom
. - Unified the four
Memory
data buckets (data
,data_temp
,id_data
andid_data_temp
) into a singleMemory::data
, with a new interface (#836). - โ
Replaced
Ui::__test
withegui::__run_test_ui
(#872).
๐ Fixed ๐
- ๐ Fixed
ComboBox
and other popups getting clipped to parent window (#885). - ๐ The color picker is now better at keeping the same hue even when saturation goes to zero (#886).
โ Removed ๐ฅ
- โ Removed
egui::math
(useegui::emath
instead). - โ Removed
egui::paint
(useegui::epaint
instead).
Contributors ๐
- Added context menus: See