Update egui_extras requirement from >=0.24, <=0.27 to >=0.24, <=0.31
Updates the requirements on egui_extras to permit the latest version.
Release notes
Sourced from egui_extras's releases.
0.31.1 - TextEdit and egui_kittest fixes
egui is an easy-to-use immediate mode GUI for Rust that runs on both web and native.
Try it now: https://www.egui.rs/
egui development is sponsored by Rerun, a startup building an SDK for visualizing streams of multimodal data.
egui
- Fix sizing bug in
TextEdit::singleline#5640 by@IaVashik- Fix panic when rendering thin textured rectangles #5692 by
@PPakalnsegui_extras
- Fix image_loader for animated image types #5688 by
@BSteffaniakegui_kittest
- Fix modifiers not working in kittest #5693 by
@lucasmerlin- Enable all features for egui_kittest docs #5711 by
@YgorSouza- Run a frame per queued event in egui_kittest #5704 by
@lucasmerlin- Add guidelines for image comparison tests #5714 by
@Wumpfepaint
- Fix panic when rendering thin textured rectangles #5692 by
@PPakalns
Changelog
Sourced from egui_extras's changelog.
0.31.1 - 2025-03-05
- Fix sizing bug in
TextEdit::singleline#5640 by@IaVashik- Fix panic when rendering thin textured rectangles #5692 by
@PPakalns0.31.0 - 2025-02-04 - Scene container, improved rendering quality
Highlights ✨
Scene container
This release adds the
Scenecontainer to egui. It is a pannable, zoomable canvas that can containWidgets and childUis. This will make it easier to e.g. implement a graph editor.
Clearer, pixel perfect rendering
The tessellator has been updated for improved rendering quality and better performance. It will produce fewer vertices and shapes will have less overdraw. We've also defined what
CornerRadius(previouslyRounding) means.We've also added a tessellator test to the demo app, where you can play around with different values to see what's produced:
https://github.com/user-attachments/assets/adf55e3b-fb48-4df0-aaa2-150ee3163684
Check the PR for more details.
CornerRadius,Margin,Shadowsize reductionIn order to pave the path for more complex and customizable styling solutions, we've reduced the size of
CornerRadius,MarginandShadowvalues toi8andu8.Migration guide
- Add a
StrokeKindto all yourPainter::rectcalls #5648StrokeKind::defaultwas removed, since the 'normal' value depends on the context #5658
- You probably want to use
StrokeKind::Insidewhen drawing rectangles- You probably want to use
StrokeKind::Middlewhen drawing open paths- Rename
RoundingtoCornerRadius#5673CornerRadius,MarginandShadowhave been updated to usei8andu8#5563, #5567, #5568
- Remove the .0 from your values
- Cast dynamic values with
as i8/as u8oras _if you want Rust to infer the type
- Rust will do a 'saturating' cast, so if your
f32value is bigger than127it will be clamped to127RectShapeparameters changed #5565
- Prefer to use the builder methods to create it instead of initializing it directly
Framenow takes theStrokewidth into account for its sizing, so check all views of your app to make sure they still look right. Read the PR for more info.⭐ Added
... (truncated)
Commits
1669e52Release 0.31.1 - text_edit and kittest fixesb32fc71Add guidelines for image comparison tests (#5714)c58aa8fAdd badges to kittest README.md2d37f1aFix panic when rendering thin textured rectangles (#5692)bc2d370Fix sizing bug inTextEdit::singleline(#5640)a872446Fix image_loader for animated image types (#5688)5b47b80Run a frame per queued event in egui_kittest (#5704)97cb07aEnable all features for egui_kittest docs (#5711)45df656Fix modifiers not working in kittest (#5693)5c372a7Release 0.31.0 - Scene container, improved rendering quality- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.