Message Boards Message Boards

0
|
1979 Views
|
0 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Custom PopupMenu displays menu items as values instead of labels

Posted 5 years ago

I'm trying to create custom appearance for PopupMenu with the below code. The problem I have is with the menu items which are displayed as values instead of labels.

How to create appearance of PopupMenu which looks like the screenshot below, but works the same way as PopupMenu with default appearance, and has the same properties such that it is highlighted in blue when the mouse is hovered over it?

PopupMenu[
 Dynamic[popupSelection], {val1 -> "L1", val2 -> "L2", val3 -> "L3"}, popupSelection, 
 Row[{Dynamic[popupSelection], Spacer[3], Style["\[DownPointer]", 20]}]]

enter image description here

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract