mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 06:40:06 -04:00
Add ui.add_enabled and ui.add_enabled_ui, and remove Button::enabled
This commit is contained in:
@@ -11,6 +11,8 @@ NOTE: [`epaint`](epaint/CHANGELOG.md), [`eframe`](eframe/CHANGELOG.md), [`egui_w
|
||||
* Add horizontal scrolling support to `ScrollArea` and `Window` (opt-in).
|
||||
* `TextEdit::layouter`: Add custom text layout for e.g. syntax highlighting or WYSIWYG.
|
||||
* `Fonts::layout_job`: New text layout engine allowing mixing fonts, colors and styles, with underlining and strikethrough.
|
||||
* Add `ui.add_enabled(bool, widget)` to easily add a possibly disabled widget.
|
||||
* Add `ui.add_enabled_ui(bool, |ui| …)` to create a possibly disabled UI section.
|
||||
* Add feature `"serialize"` separatedly from `"persistence"`.
|
||||
* Add `egui::widgets::global_dark_light_mode_buttons` to easily add buttons for switching the egui theme.
|
||||
* `TextEdit` can now be used to show text which can be selectedd and copied, but not edited.
|
||||
@@ -35,6 +37,9 @@ NOTE: [`epaint`](epaint/CHANGELOG.md), [`eframe`](eframe/CHANGELOG.md), [`egui_w
|
||||
* Show tooltips above widgets on touch screens.
|
||||
* Fix popups sometimes getting clipped by panels.
|
||||
|
||||
### Removed 🔥
|
||||
* Replace `Button::enabled` with `ui.add_enabled`.
|
||||
|
||||
|
||||
## 0.14.2 - 2021-08-28 - Window resize fix
|
||||
|
||||
|
||||
Reference in New Issue
Block a user