๐ egui v0.18.0 Release Notes
Release Date: 2022-04-30 // about 2 years ago-
โ Added โญ
- Added
Shape::Callback
for backend-specific painting, with an example (#1351). - โ Added
Frame::canvas
(#1362). - ๐ป
Context::request_repaint
will now wake up UI thread, if integrations has calledContext::set_request_repaint_callback
(#1366). - Added
Plot::allow_scroll
,Plot::allow_zoom
no longer affects scrolling (#1382). - โ Added
Ui::push_id
to resolve id clashes (#1374). - โ Added
ComboBox::icon
(#1405). - Added
Ui::scroll_with_delta
. - โ Added
Frame::outer_margin
. - โ Added
Painter::hline
andPainter::vline
. - โ Added
Link
andui.link
(#1506). - โ Added triple-click support; triple-clicking a TextEdit field will select the whole paragraph (#1512).
- Added
Plot::x_grid_spacer
andPlot::y_grid_spacer
for custom grid spacing (#1180). - โ Added
Ui::spinner()
shortcut method (#1494). - โ Added
CursorIcon
s for resizing columns, rows, and the eight cardinal directions. - โ Added
Ui::toggle_value
. - โ Added ability to add any widgets to the header of a collapsing region (#1538).
๐ Changed ๐ง
- ๐ MSRV (Minimum Supported Rust Version) is now
1.60.0
(#1467). ClippedMesh
has been replaced withClippedPrimitive
(#1351).- ๐ Renamed
Frame::margin
toFrame::inner_margin
. - ๐ Renamed
AlphaImage
toFontImage
to discourage any other use for it (#1412). - โ Warnings will be painted on screen when there is an
Id
clash forGrid
,Plot
orScrollArea
(#1452). Checkbox
andRadioButton
with an empty label (""
) will now take up much less space (#1456).- Replaced
Memory::top_most_layer
with more flexibleMemory::layer_ids
. - ๐ Renamed the feature
convert_bytemuck
tobytemuck
(#1467). - ๐ Renamed the feature
serialize
toserde
(#1467). - Renamed
Painter::sub_region
toPainter::with_clip_rect
.
๐ Fixed ๐
- ๐ Fixed
ComboBox
es always being rendered left-aligned (#1304). - ๐ Fixed ui code that could lead to a deadlock (#1380).
- Text is darker and more readable in bright mode (#1412).
- ๐ Fixed a lot of broken/missing doclinks (#1419).
- ๐ Fixed
Ui::add_visible
sometimes leaving theUi
in a disabled state (#1436). - โ Added line breaking rules for Japanese text (#1498).
๐ Deprecated โข๏ธ
- ๐ Deprecated
CollapsingHeader::selectable
(#1538).
โ Removed ๐ฅ
- Removed the
single_threaded/multi_threaded
flags - egui is now always thread-safe (#1390).
Contributors ๐
- Added