Merged
Conversation
update to egui main
- this does *not* update to use the new Popup API
…t's now entirely replaced by `egui::Popup`.
anhosh
approved these changes
Jul 13, 2025
Owner
anhosh
left a comment
There was a problem hiding this comment.
thanks for starting to work on this, i've handled the rest!
Merged
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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)