1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
JUCE/modules/juce_gui_basics/menus
reuk cf297c75c6
PopupMenu: Fix issue where PopupMenu would sometimes use the default rather than the parent look and feel
Previously, for the following snippet, the menu's LnF was incorrectly
being forced to the default LnF. The correct behaviour is to display the
menu using LnF v4. The menu doesn't have an explicit LnF set, so it
should use the LnF of its parent component.

    LookAndFeel::setDefaultLookAndFeel (&lookAndFeel_V1);
    setLookAndFeel (&lookAndFeel_V4);
    PopupMenu().showMenuAsync (PopupMenu::Options{}.withParentComponent (this));
2023-01-25 17:07:23 +00:00
..
juce_BurgerMenuComponent.cpp Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_BurgerMenuComponent.h Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_MenuBarComponent.cpp MenuBarComponent: Fix incorrect deactivation of the menu bar 2022-08-02 14:58:31 +00:00
juce_MenuBarComponent.h MenuBarComponent: Fix incorrect deactivation of the menu bar 2022-08-02 14:58:31 +00:00
juce_MenuBarModel.cpp Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_MenuBarModel.h Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_PopupMenu.cpp PopupMenu: Fix issue where PopupMenu would sometimes use the default rather than the parent look and feel 2023-01-25 17:07:23 +00:00
juce_PopupMenu.h Build: Replace JUCE_NODISCARD with [[nodiscard]] 2022-09-12 16:14:57 +01:00