Effacer les filtres
Effacer les filtres

Scrollable checkboxes inside uipanel GUIDE

3 vues (au cours des 30 derniers jours)
Haider Ali
Haider Ali le 4 Sep 2018
Commenté : Haider Ali le 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,

Réponse acceptée

Adam
Adam le 4 Sep 2018
Modifié(e) : Adam le 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).
  1 commentaire
Haider Ali
Haider Ali le 5 Sep 2018
Thanks Adam! Seems like a great contribution.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by