Questions tagged [menuitem]
A menu item is a child element of a menu that provides the user a means to view and execute a specific application operation.
2,546
questions
0
votes
0
answers
7
views
Context Menus: ellipses used at the end of certain actions
In the various menus throughout Visual Studio Code, whether from the application menu or right-clicking from the View section (Context Menu - https://code.visualstudio.com/api/ux-guidelines/context-...
0
votes
1
answer
30
views
Can anyone help? Starting new activity using onOptionsItemSelected with Kotlin
After looking through docs and threads I can't find a solution for my case an am wondering if I could get some help / slight nudge with this. I'm not fully understanding this function and am teaching ...
0
votes
0
answers
10
views
is there domain option for menuitem definition on xml on Odoo
i setup an Odoo 13 CE as a multi-companies environment, there are five companies.
because not all companies using the same workflow, therefore, i hope some functions defined on menu they are company ...
-1
votes
0
answers
13
views
hover anywhere where the drop down menu WILL BE, it shows up. How do I stop this?
If you hover anywhere where the drop down menu items are, it shows up. So for instance, under "Services" the last item on the menu is "facial" if you just hover where the "...
0
votes
2
answers
32
views
How to make a transition effect for a dropdown menù
I have a problem using CSS (tried JS and it's the same, it doesn't work) for a dropdown menu.
When i click on my button to open the submenu it appears instantly, how can i make the transition smooth?
...
0
votes
0
answers
35
views
VSIX: Command menu item visibility depend on option value
I have just completed a basic VSIX package which provides only one command. The command takes the selection from a C# file and does some refactoring, the details of which are uninteresting for this ...
0
votes
0
answers
5
views
menu item is not closing on my first click
`
<Menu
sx={{ mt: '45px' }}
id="menu-job"
anchorEl={openDesktop}
anchorOrigin={{
vertical: '...
0
votes
0
answers
36
views
Wordpress custom fields on menu items
I am trying to add custom fields to the menu items. I have found examples on using the following hook:
wp_nav_menu_item_custom_fields
For example on this site: https://pressidium.com/blog/adding-...
0
votes
0
answers
11
views
How did positioning the menu item in toolbar at leftMost corner after toolbar navigationButton
Currently i am creating toolbar in my fragment i have to implement searchView on this toolbar and i put toolbarNavigation button also.i set searchview.OnActionExpanded() on it so its behavier was good ...
0
votes
0
answers
20
views
itemHeight, height of menuItemStyleData of DropDownButton2
this.height = _kMenuItemHeight,
https://pub.dev/packages/dropdown_button2
I'm using this package to achive the DropDownMenu under the Button. But when I'm trying to custom its itemHeight. Its seem ...
0
votes
1
answer
27
views
AppNavItem in Vaadin is not marked as active after ui.navigate
I am using latest version of Vaadin (v24).
AppNavItem is not marked as active after ui.navigate(SomeView1.class). SomeView1 is connected to the AppNavItem.
In my AppLayout class I have:
nav = new ...
0
votes
0
answers
15
views
Adding a timestamp when menu item is clicked
I am creating a clocking in button for our organisation in google sheets.
When the menu item 'Clock in' (function: "Clockin") is selected, it adds in a new row, and I want it to add in the ...
0
votes
0
answers
34
views
How to set width in MenuItem material-ui
I'm just starting my adventure with react. I tried to use select with material-ui, but now I run into a wall. My select has a certain width and when MenuItem has a short content then the dropdown ...
1
vote
0
answers
18
views
How to know when are menu items in activity created?
I have an activity with a Toolbar showing an settings menu.
When I access the menu items via
val icon0 = ResourcesCompat.getDrawable(resources, id0, null)
(findViewById<View&...
0
votes
0
answers
20
views
Change Tabs and Panels
I want to make something like the tabsetPanel menu inside the sidebarMenu, being able to use either to get to the different panels. I also want the different sidebarMenus to take you to the page the ...
2
votes
1
answer
51
views
is it correct to use menuitem role as link
I'm trying to write an accessible application, and I have a menu(dropdown), and each item on that menu/dropdown should be a link, is it correct to use menuitem role as link?
see this example:
<div ...
0
votes
0
answers
12
views
How can I check the state of a menu item in Espresso? I am testing a Kotlin android application
I am testing whether the right message is displayed after unfavoriting a recipe. To prepare for the test, I am conditionally checking whether it is already favorited. If it isn't, I favorite it in the ...
1
vote
0
answers
29
views
WPF - Change background color of MenuItem when the page it links to is active (not when MouseOver)
I'd like to change the background color of a MenuItem in WPF if the page it links to is the page I'm currently on. I've already figured out how to change a MenuItem upon MouseOver, and figured it ...
-1
votes
1
answer
18
views
How to show the "Revert to Saved" menu item in non-document apps
When creating a new project in Xcode, the default menu bar in the storyboard has a "Revert to Saved" menu item in the "File" menu. However at runtime, in a non-NSDocument app, the ...
0
votes
0
answers
23
views
Error when creating a SubMenu in React using NestedMenuItem
I am trying to add a sub menu to Menulist in react, but having a hard time.
imported 'mui-nested-menu' plug into my code using npm, Below is the snippet of what I am trying to do, I am returning the ...
3
votes
0
answers
352
views
How I can implement custom search bar with menu icon in jetpack compose
I implement this successfully
After that I want to implement custom search bar with menu icon like this on TopAppBar and no suggest strings needed, but this custom search bar not created by me
...
0
votes
0
answers
58
views
Angular Directives on Primeng MenuItem
I am working with Angular and I would like to hide my menu based on permissions using the Angular custom directives
I created a hasPermission method like this:
hasPermission(permissions: string[]): ...
0
votes
0
answers
11
views
How to open an modal on clicking on submeuns in navigation bar
I wants to create a page in which after clicking on menu it should open an submeuns and after clicking on the option of submeuns it show show an modal where I wants to display some information as per ...
0
votes
1
answer
40
views
Remove Context Menu Items of Eclipse-Plugins
One of my eclipse plugins adds this context menu item:
<menuContribution locationURI="popup:org.eclipse.ui.popup.any?after=additions">
<menu id="sourceMenuId" label=&...
0
votes
1
answer
41
views
C# WPF Menuitem ItemsPresenter Template
I have a context menu with that contains several menu items. One particular menu item ("In postfach kopieren") used to have many menu items as its children. The problem is that sometimes the ...
0
votes
0
answers
109
views
How to insert (instead redefine) context menu item in MAUI.NET control
I did a context menu for the control as described in tutorial: https://learn.microsoft.com/en-us/dotnet/maui/user-interface/context-menu
It works perfect.
<Entry ...>
<FlyoutBase....
-1
votes
1
answer
90
views
no changes in menu items after updating this code trying to remove the some of them
enter image description here highlighted are the submenu item i want to hide in a custom module.
here are some changes that i have done on backend side but it does not effect the UI side
adding menu ...
0
votes
2
answers
160
views
MUI MenuItem NextJS Link : Error while using those components
I got an issue trying to use MUI MenuItem and NEXTJS13 Link.
Versions:
MUi: "@mui/material": "^5.13.5",
NEXTJS: "next": "13.4.5",
import MenuItem from "@...
0
votes
0
answers
21
views
How to remove the side panel that pop up when you click on a layer?
I have made a google map and added a single layer. However, when I preview the map and click on the layer a side panel comes up with the layer title on the left. This is blocking the map. Is there a ...
0
votes
0
answers
77
views
My Menu Navigation on elementor is not showing the titles
I did some updates in my website but now i’m having problems with the menu on my mobile, i create a header for the mobile version of the website and the Titles of the menu are not showing, they look ...
0
votes
0
answers
118
views
Role ARIA and accessibility elements <ul> <li <ol> or < menu>
I'm creating a menu apparently everything is fine.Everything works. But it keeps showing an accessibility error.
List <li> items are not contained within parent <ul>, <ol>, or <...
0
votes
1
answer
101
views
How can I override a menu item in odoo 16
<record model="ir.ui.menu" id="hr_payroll.menu_hr_payroll_payslips ">
<field name="name">Payroll</field>
</record>
I use this code that I saw ...
0
votes
0
answers
13
views
When i select first bottomnavigation menu item it select second menuitem
After Anything order I move to My Order bottom navigation menu then I select Home it selects My Order again not open home screen
BottomNavigation Image
<com.google.android.material....
0
votes
0
answers
34
views
WPF MVVM Context Menu Copy/Paste does not work at first time
I am trying to copy all row values of a datagrid, using "Copy" in "Menu Item"
However, I am getting a weird situation. I have made a context menu in wpf and using mvvm and making ...
0
votes
0
answers
17
views
How can I dynamically update a menu item title with user search history on Android Studio?
I'm working with this Api project.
This is in a menu and I'm using android studio for the project
<item
android:id="@+id/SH1"
android:title="@string/app_name"/>
I ...
0
votes
0
answers
96
views
Android - how to change item Icon of bottom navigation bar to a custom vector asset?
GOAL
So my goal is that on item selection, I want to not only change color of chosen item's icon to desired one, but to add a background of another color
This icon (for example on clicking on pencil) ...
0
votes
0
answers
88
views
How to add class to current and parent menu items if menu contains pages and categories that have the same ID?
I have created a wordpress menu that has pages and taxonomy archive (categories). The structure is like:
Sample Page (Page with ID: 24)
-> Sample Category (Category/Taxonomy with ID: 25)
-&...
3
votes
0
answers
66
views
SwiftUI how to alternate a menu item based on modifiers
In SwiftUI how to to alternate between 2 menu items, when holding down the Options key
like when you open a Finder File menu and press down the Options key, some items alternate
sadly my approach ...
1
vote
1
answer
67
views
Making a default style for a menu item separator in WPF, within the scope of a particular menu
I'm trying to change the way a separator appears in my WPF context-menu. The context menu has its own default style, which is already successfully applying a style to all of its menu items.
<Style ...
0
votes
2
answers
35
views
WPF MenuItem Icon only showing one instance of ContentControl template [duplicate]
I'm using a style to set the icon of menu items in a context menu, so that a different item is shown based on the sort of object the menu item relates to.
For now, I'm avoiding changing the item, and ...
-3
votes
1
answer
85
views
Horizontal right alignment is not working correctly in WPF [closed]
For reference, I am including Horizontal alignment question which is even referenced in the comments of our legacy codebase.
The code is in a .xaml file, the relevant part is:
<MenuItem Header=&...
1
vote
1
answer
94
views
How to Change WordPress Menu Structure (ul > li to nav > a)
I'm trying to create a WordPress menu using:
<?php
wp_nav_menu(
array(
'menu' => 'Top Mid',
'container' => 'nav',
...
0
votes
1
answer
48
views
How do I add a custom menu to hide/show two columns at the same time?
I have a sheet of statistics for a number of years; however, I want to hide future years to keep the table compact until those years are needed. I have the following script which hides and shows one ...
1
vote
1
answer
151
views
How to set a default value for a Select component from react with MenuItem as options
I've been wondering how to set the default value of a Select in React when we use the MenuItem component as options.
First, I get an user list with the following useEffect that returns a list of users ...
0
votes
0
answers
13
views
targeting a div inside a menu structure [duplicate]
I can not properly target a div if it is not in the same li item with the trigger div.
my CSS is:
#menu .hide {
display: none;
width: 200px;
height: 320px;
}
#menu .subsubmenu:hover + ....
0
votes
1
answer
163
views
Vaadin 23.2.7 button and menuBar have different sizes
I add to the HorizontalLayout with the same dimensions
button:
Icon icon = new Icon(VaadinIcon.SEARCH);
Button searchButton = new Button("Search", icon);
searchButton.setIconAfterText(false);...
0
votes
1
answer
58
views
Can onChange's event read only the inner tag's value?
I have a Select dropdown that listed some MenuItems, but now I want to add a ListSubheader. I am having issue grabbing the event.target.value from my MenuItem because I have to wrap them in a div tag, ...
0
votes
0
answers
60
views
How to make a side menu with expandable and hidden items?
To create a side menu for my app, I found a tutorial that used DrawerLayout and NavigationView. It works nice with the menu items but not the submenus:
As you can see in the above image, "...
0
votes
1
answer
21
views
Output the name of a menuSubItem
In this App (code below), I would like that the output "Selected Menu Item:" be followed by the name of the tabName of the menuSubItem the user clicked - example: "Selected Menu Item: ...