Scrollable checkboxes inside uipanel GUIDE

8 views (last 30 days)
Hi,
I have a uipanel created in MATLAB figure which vertically lists the .txt files present in the current directory using checkboxes.
The problem is that when there are large number of files; more than which can be fitted in the panel, the panel isn't able to show them.
Is there a way to attach a scrollbar with the uipanel to scroll through all the files?
Picture is also attached.
Regards,

Accepted Answer

Adam
Adam on 4 Sep 2018
Edited: Adam on 4 Sep 2018
You can't do it with a simple Matlab component, but you can use 3rd party scrollable panels or write your own if you really want.
I wrote my own from components, but there is now one in the excellent GUI Layout toolbox which I use regularly for building apps and made use of components from in building my own scrolling panel (I think it either didn't exist in that toolbox or there was something I didn't like about it when I wrote my own, but the toolbox is high quality so their scrolling panel shouldn't cause you any problems).

More Answers (0)

Categories

Find more on Migrate GUIDE Apps 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!