How to change the font size of a popup menu, but ONLY when the popup menu is open and a selection is being made
2 views (last 30 days)
Show older comments
Is it possible to have the font size of the popup menu be 32 when the window opens, reduce the font size to 12 when the user clicks on the menu and remain 12 while the user makes a selection, then resize again to be 32 when the menu closes after a selection is made?
Alternatively, can I have a popup menu appear as only the down arrow that usually appears to the right of the text? In other words, can I have the text portion be invisible until the arrow has been pressed?
I'm creating a GUI to display data for 1 of 48 different vessels that the user can select via popup menu (with various other ui elements to determine what data is actually displayed for the selected vessel). I would also like the popup menu to serve as the graph's title.
0 Comments
Answers (1)
Walter Roberson
on 9 Mar 2017
uicontrol() do not support those options.
You might be able to make use of Java functions. For information on that, see http://undocumentedmatlab.com
0 Comments
See Also
Categories
Find more on Interactive Control and Callbacks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!