๐ egui v0.11.0 Release Notes
Release Date: 2021-04-05 // about 3 years ago-
โ Added โญ
- You can now give focus to any clickable widget with tab/shift-tab.
- Use space or enter to click the selected widget.
- Use arrow keys to adjust sliders and
DragValue
s.
- egui will now output events when widgets gain keyboard focus.
- This can be hooked up to a screen reader to aid the visually impaired
- โ Added the option to restrict the dragging bounds of
Window
andArea
to a specified area usingdrag_bounds(rect)
. - โ Added support for small and raised text.
- Added
ui.set_row_height
. - โ Added
DebugOptions::show_widgets
to debug layouting by hovering widgets. - โ Added
ComboBox
to more easily customize combo boxes. - โ Added
Slider::new
andDragValue::new
to replace old type-specific constructors. - โ Added
TextEdit::password
to hide input characters.
๐ Changed ๐ง
- ๐ป
ui.advance_cursor
is now calledui.add_space
. kb_focus
is now just calledfocus
.
๐ Fixed ๐
- ๐ Fixed some bugs related to centered layouts.
- ๐ Fixed secondary-click to open a menu.
- Fix panic for zero-range sliders and zero-speed drag values.
- ๐ Fixed false id clash error for wrapping text.
- ๐ Fixed bug that would close a popup (e.g. the color picker) when clicking inside of it.
๐ Deprecated โข๏ธ
- Deprectated
combo_box_with_label
in favor of newComboBox
. - Deprectated type-specific constructors for
Slider
andDragValue
(Slider::f32
,DragValue::usize
etc).
- You can now give focus to any clickable widget with tab/shift-tab.