15,806 questions
0
votes
0
answers
20
views
How can I set the height and font of a MenuBarItems in the content page?
I have a maui app and it has a menu bar in the front page that looks like this:
What I'm looking to do is some how resize the height of the menu and change the font size and (if possible) the font ...
1
vote
1
answer
56
views
How to create a SwiftUI Menu with multiple Pickers without extra dividers?
I'm trying to create a SwiftUI Menu containing two Picker to control content and sort. However, I cannot replicate menu appearance shown in my reference screenshot.
No matter which approach I try, I ...
1
vote
1
answer
81
views
Javascript works on one menu item, but not the others
I have a simple Javascript-enabled Wordpress menu plugin that I've built myself.
It has a top level menu that works fine and a sub-menu dropdown that doesn't. For some reason, only the first (top) ...
0
votes
1
answer
46
views
Create a Single Window App but keep the File menu
I want to make a very simple Single Window App that can open/close some external resources in order to process them.
Using code from this solution How to limit the number of windows in a WindowGroup? ...
5
votes
1
answer
147
views
Controlling color of menus in ncurses
I am working on a program to create menus with colors using ncurses on Linux:
#include <stdio.h>
#include <stdlib.h>
#include <ncurses.h>
#include <ncurses/menu.h>
int main() {...
3
votes
1
answer
95
views
How can a menu sidebar be toggled / collapsed by default in HTML / CSS / JS?
I have downloaded html5up's Editorial template and I'm trying to collapse the menu sidebar when the page is first visited. As shown in the screenshot below, clicking on the blue three-bar icon toggles ...
1
vote
1
answer
73
views
Custom Block / Shortcode / Search in Wordpress Block-based Navigation Menu?
I have a wordpress site, currently locally hosted with xampp.
Context Structure:
Child of Twenty Twenty-Five theme (block-based, doesn't support menus in Appearance-> Menu). In the site I have a &...
0
votes
0
answers
91
views
Preventing a custom menu to close when the main window SwiftUI View is updating
I have an Audio Player app for macOS, that opens and parses cue sheet files. I want those cue sheet files to be in an 'Open Recent' menu.
My app is not Document-based, the UI is written with SwiftUI ...
0
votes
0
answers
28
views
How to hide GTK3 menu item defined in Glade
I have a GTK3 application with menus defined in .ui files like that:
<menu id='menubar'>
<submenu>
<attribute name="label" translatable="yes">_File<...
0
votes
1
answer
102
views
Appkit - custom action for Settings menu item [closed]
In MacOS app I want to do my own custom action when user choses "Settings ..." from app menu, or presses cmd+, . So I need to either modify or replace a corresponding menu item.
How to that? ...
-4
votes
2
answers
81
views
Menu issues, how do I make it start Off? [closed]
A friend has given me some code which toggle on and off a menu, and he didn't consider the fact it needs to start off (start invisible).
I am using Unity (C#).
Here is the code, any input would be ...
0
votes
0
answers
20
views
In VS Code, how to pin items to dropdown menu
In VS Code, i can press ctrl + shift + p, and a dropdown menu will appear.
This menu has last used elements.
Can i pin some of them? I don't need quick access buttons (shortcuts).
If not - Is it ...
0
votes
0
answers
28
views
When i call the onCreate, onCreateOptions menu, OnOptionItemsSelected in fragment class(for example: To add a menu item(refresh)
/*
* ForecastFragment
*/
public class ForecastFragment extends Fragment {
//------------------------------
//---- DATA MEMBERS ----
//--------------------...
1
vote
0
answers
41
views
Remove menu for tel-links in WkWebView
How do I remove the context menu when a user taps a "tel:" link in a WkWebView on iOS?
I've tried to override the buildMenu in the WkWebView, but i can't find the appropriate identifier.
...
0
votes
1
answer
62
views
Antd React menu item hide for empty label when collapsed
In Antd 5.22.x with React 19, it seems impossible to hide the label popup when clicking a menu item while the menu is collapsed (see screenshot):
It seems that in the collapsed mode the label gets ...