Filter löschen
Filter löschen

Scrollable checkboxes inside uipanel GUIDE

3 Ansichten (letzte 30 Tage)
Haider Ali
Haider Ali am 4 Sep. 2018
Kommentiert: Haider Ali am 5 Sep. 2018
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,

Akzeptierte Antwort

Adam
Adam am 4 Sep. 2018
Bearbeitet: Adam am 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).

Weitere Antworten (0)

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by