Not Including a MenuSearchWidget? #507
Replies: 2 comments 9 replies
|
That widget should only get added to the menu bar when you call |
|
I've been thinking about this, and the right way to make this work. Right now there are two methods in
The first issue is that the second one should really be The second one is that, realistically speaking, I do not see a near future in which I add more widgets that would fall under the umbrella of If I was adding this functionality today, it would be:
The second part is not a breaking API change, but the first part is. But I'm reluctant to introduce such a breaking change in Radiance 8.0, as the primary focus of this release is on the new color system. Right now I'm leaning towards making this change in the next release 8.5, which would be a few months after 8.0 lands, so at some point in late 2025. |
Uh oh!
There was an error while loading. Please reload this page.
Our application is using JMenuBar for some low level menus. The JMenuBar class is getting the RadianceMenuBarUI and, I assume, therefore includes an instance of MenuSearchWidget. I don't want a search panel in these menus and its presence is resulting in a blank entry at the end of our menus. Is there a mechanism to disable menu search support in a particular menu bar? Simply removing the MenuSearchWidget appears to work, but that is definitely inelegant.
All reactions