Skip to content

Update to egui 0.32#280

Merged
anhosh merged 5 commits intoanhosh:release-0.17from
Jengamon:update-to-egui-0.32
Jul 13, 2025
Merged

Update to egui 0.32#280
anhosh merged 5 commits intoanhosh:release-0.17from
Jengamon:update-to-egui-0.32

Conversation

@Jengamon
Copy link
Contributor

This bumps to egui 0.32, but doesn't update any of the internal to use the new APIs (other than changes as necessary to keep the popup from instantly closing)

Jengamon added 3 commits May 21, 2025 03:15
update to egui main
- this does *not* update to use the new Popup API
@anhosh anhosh changed the base branch from main to release-0.17 July 12, 2025 23:05
Copy link
Owner

@anhosh anhosh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for starting to work on this, i've handled the rest!

@anhosh anhosh merged commit 26dd97c into anhosh:release-0.17 Jul 13, 2025
4 checks passed
@anhosh anhosh mentioned this pull request Jul 13, 2025
@anhosh anhosh added the 0.17.0 label Jul 13, 2025
anhosh added a commit that referenced this pull request Jul 13, 2025
* Updates to `TabViewer::{is_closable,on_close}`.

* Update crate version

* feat: add on_rect_changed callback and example for dock state (#265)

* feat: add on_rect_changed callback to TabViewer

This commit introduces the `on_rect_changed` callback to the `TabViewer` trait.

This callback is triggered whenever the rectangle of a tab's content changes, allowing tabs to adjust their content based on the available space. This is particularly useful when the window is resized, panels are docked or undocked, or when the dock area layout changes.

* feat: add example for saving and loading dock state

This commit adds a new example that demonstrates how to save and load the dock state to a JSON file.

This allows users to persist their preferred layout across sessions.

* Make sure `TabViewer::on_close` is always called when the user tries to close the tab (#266)

* Use close_tab_bg_fill for close buttons (#268)

* Add more QOL methods to ``DockState``, and change the structure of ``Node`` (#272)

* new concrete types for ``Node``

created ``LeafNode`` and ``SplitNode`` types.

* add documentation, get rid of errors

* adding ``iter_leaves``, ``iter_leaves_mut``, and cleaning up some code

* cargo fmt

* implement ``Index<NodeIndex>`` for ``Surface``

* fixed tests, overall improved docs

* added ``is_empty`` method to ``LeafNode`` in accordance with clippy tests

* run ``cargo fmt``

* Update CHANGELOG.md

* A few minor stylistic changes

* Test fix #1

---------

Co-authored-by: Adanos020 <adanos020@gmail.com>

* Prevent `DockState::retain_tabs` from deleting main surface (#277)

* Add another failing unit test

* Don't delete the main surface

* Just-in-time patching of surfaces

* Update changelog for #277

* Add inner_margin and spacing to tab bar style (#270)

* Add inner_margin to TabBarStyle

* Add tab_spacing to TabStyle

* Update changelog following #270

* Fix `retain_tabs` behavior with `Empty` nodes in the list (#275)

* Add failing unit test

* Add two fixes

* Update to egui 0.32 (#280)

* Update popup.rs

update to egui main

* Remove deprecated calls, and call `Memory::keep_popup_open`

* Update to egui 0.32

- this does *not* update to use the new Popup API

* Fix compiler errors and Clippy warnings. Retire widgets/popup.rs as it's now entirely replaced by `egui::Popup`.

---------

Co-authored-by: Adam Gąsior <adanos020@gmail.com>

* Update changelog following #275

* Update readme

---------

Co-authored-by: DEV×PAIN <170700110+devxpain@users.noreply.github.com>
Co-authored-by: Avarel <antranprm@gmail.com>
Co-authored-by: Vikrinox <51887867+Vickerinox@users.noreply.github.com>
Co-authored-by: Matt Keeter <matt.j.keeter@gmail.com>
Co-authored-by: Jengamon <bob.hostern@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants