필터 지우기
필터 지우기

Scrollable checkboxes inside uipanel GUIDE

조회 수: 3 (최근 30일)
Haider Ali
Haider Ali 2018년 9월 4일
댓글: Haider Ali 2018년 9월 5일
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,

채택된 답변

Adam
Adam 2018년 9월 4일
편집: Adam 2018년 9월 4일
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
Haider Ali
Haider Ali 2018년 9월 5일
Thanks Adam! Seems like a great contribution.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by