Questions tagged [menu-items]

A menu item is a child element of a menu that provides the user a means to view and execute a specific application operation.

A menu item is a child element of a menu that provides the user a means to view and execute a specific application operation. A menu item may have an accelerator key which provides the user a quick way to execute the menu item operation. A menu item in turn can consist of other child menu items.

100 questions
2
votes
2 answers

How to detect mouse click on menuItem when added via addMouseListener

Consider you want to close your java application using "Close application" menu item. 3 possible solutions are (using ActionListener or MouseAdapter or MouseListener): menuItemClose.addActionListener(new ActionListener() { @Override public…
Vadim
  • 1,223
  • 2
  • 17
  • 26
2
votes
1 answer

Refresh WooCommerce Minicart Menu Item count and totals

I have, with some help from this wonderful community, been able to create a WC minicart link as the last menu item. After looking at the official WC documentation, I realized that I need to add the cart fragments, enabling "auto-update" on cart Ajax…
user14906105
2
votes
3 answers

OnClickListener for Menu Items in Navigation Drawer Activity

What I am using? I am writing the default navigation drawer activity by using kotlin My Question There is a "three dot dropdown menu" as per image: Few functions being invoked when i click the menu's. Not sure which piece of code being…
2
votes
1 answer

How to specify a backing bean callback on click on a menu item?

I'm building the content of a p:slideMenu by binding the value to a MenuModel in a backing bean. This is necessary because the content is generated dynamically based on the result of a database query. Using @Named @ViewScoped public class…
Kalle Richter
  • 8,008
  • 26
  • 77
  • 177
2
votes
1 answer

How to set icon at right in custom popup menu

On Click of button, I'm showing the menu which contains the list of languages. Now i want the icon to be displayed at the right side of title of every item in the menu. I googled but did not find appropriate solution , please help me…
user9923632
2
votes
2 answers

Material-UI Menu Height Issue

I want to set the menu height equal to window height by applying css. If the elements in the page increases vertically then with respect to the page length, the menu-height should also be increasing. I have used "height:100%" & also tried using…
Subhojit
  • 1,389
  • 8
  • 19
  • 33
2
votes
0 answers

Reduce left margin for menu item of Navigation drawer?

I am using a custom menu in a navigation drawer. I would like to only reduce the left margin of the menu items and move the image view a little closer to margin (towards the left). I have already made the dimension changed for reducing the bottom…
Dinesh
  • 889
  • 14
  • 34
2
votes
2 answers

Load NavigationView Menu Item Icon with Picasso

UPDATE: I switched to Glide and now it works I have a NavigationView (Drawer) with programmatically created MenuItems. Is it possible to load the icons for them with Picasso? I tried it but it doesn't work. I tried it using a Target from Picasso.
user5099833
2
votes
1 answer

Bootstrap 3.3.1 - Highlight Current Navigation Menu Item

The script that I use currently works well actually, as long as I keep my file structure like this: http://website.com/ http://website.com/page1.php http://website.com/page2.php http://website.com/page3.php but when I impliment my mod_rewrite code…
1
vote
1 answer

The rollover of a specific menu item is not showing the hidden sub menu

I created some classes for the menu items, so I can call upon them. .dropdownBox { display: none; } .dropdown li:hover > ul.dropdownBox { display: block; } However, the roll over state for 'Work' that has…
1
vote
2 answers

React: CSVLink not working when put inside MenuItem in DropdownButton

I have code in a React file like this: import {Dropdown, DropdownButton, MenuItem} from "react-bootstrap"; import {CSVLink} from "react-csv"; Export …
Light Yagami
  • 961
  • 1
  • 9
  • 29
1
vote
0 answers

Text is not selectable in material ui menu item in react

I am using MUI menu item in one of the project. I want to copy text from menu item but currently, the text is not selectable. How can I make it selectable so that, first the user can select the text and copy it.
Bot _Vvk
  • 3
  • 3
1
vote
1 answer

why does the chronology of the child view in navigationdrawer matters?

I ran into this issue while developing a navigation drawer for my app,when the chronology of the child views are as follows everything works like a charm
1
vote
1 answer

I can't delete an item from sharedpreferences

I have a list of item in navigationview witch are added programmatically - and I save and restore them using sharedpreferences, everything works fine.But the problem is that I can't delete an item from sharedpreferences.I retrieve the item index…
1
vote
1 answer

When I set android background to white, tablayout and menu items background also turned white

I'm new to android. I wanted to set the app's background to white so I specified this in style file in app theme. But after doing so what I found is my app's tab layout and menu items background also turned to white. I have no idea what to do. Tried…
Ari
  • 37
  • 5