mirror of
https://github.com/emilk/egui.git
synced 2026-09-03 07:10:04 -04:00
⚠️ Improved menu based on egui::Popup (#5716)
Continuation of #5713 **Silently breaking changes:** - Menus now close on click by default, this is configurable via `PopupCloseBehavior` **Additional additions:** - `Button::right_text` - `StyleModifier` This is a rewrite of the egui menus, with the following goals: - submenu buttons should work everywhere, in a popup, context menu, area, in some random Ui - remove the menu state from Ui - should work just like the previous menu - ~proper support for keyboard navigation~ - It's better now but requires further work to be perfect - support `PopupCloseBehavior` * Closes #4607 * [x] I have followed the instructions in the PR template
This commit is contained in:
3
crates/egui_kittest/tests/snapshots/menu/subsubmenu.png
Normal file
3
crates/egui_kittest/tests/snapshots/menu/subsubmenu.png
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6f0b04c42dfb257ca650a2fe332509f847cc94f4666cc29d830086627b91fc25
|
||||
size 33737
|
||||
Reference in New Issue
Block a user