uimenu list is too long (verticaly doesn't fit in the screen)

Hello,
On my gui i have in two uimenus different a list of items that can sometimes be too long and not fit in my screen. To resolve this problem i added choose to regroup them by pack of 25 items but i would like to know if it is possible to add a scroll at the bottom to be able to scroll through all of them.
I put a picture of how my list appear to me. I would like to add a scroll like the one we can see on the next picture:
If anyone could lighten me on how to do this.

5 Comments

I assume, this is not possible with the built-in GUI functions provided by Matlab.
What about using a nested menu?
I did use submenus to divide the items in the menu so that if fits the screen so it works but it was looking for a scroll. I also tried using Scrollable in the uimenu proprety but it didn't work as well so i might be have to stay with this solution.
Maybe a huge number of elements is a bad choice for a menu in general. Perhaps a listbox is more userfriendly?
I am not so sure as this menu allowed the user to draw the graphics obtained after a simulation for each of these element and they already take all the screen so if i add a listbox there won't be any space in the gui.

Sign in to comment.

Answers (0)

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Products

Release

R2014a

Asked:

Ali
on 24 Oct 2022

Commented:

Jan
on 24 Oct 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!