Issue with scrolling a GUI in App Designer

조회 수: 23 (최근 30일)
Ali razi
Ali razi 2025년 4월 15일
댓글: NVSL 2025년 4월 23일
Hi,
I did this simple app designer simple UI
And when I run it I cannot scroll it down
Any idea why? And how to solve it?
  댓글 수: 6
Image Analyst
Image Analyst 2025년 4월 18일
You keep forgetting to attach your .mlapp file.
If you have any more questions, then attach your .mlapp file with the paperclip icon after you read this:
I have seen a similar thing in my own apps where the controls are too high and were clipped off at the top of the GUI during runtime. I had to move them down and have some empty space at the top for some reason.
Ali razi
Ali razi 2025년 4월 19일
Attached the mlapp file.

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

답변 (1개)

NVSL
NVSL 2025년 4월 22일
I understand that you are not able to scroll through your application despite enabling “Scrollable” property of the parent figure.
I tried reproducing the issue and the problem seems to be with the position and scale of the figure. It is recommended to design an app such that it can adjust its dynamics based on the screen it is being viewed on. You can do so by adding a “startUpFcn” to your App that adjusts the scale based on your systems current resolution.
You can know more details on app resizing from the below post.
Hope this helps!
  댓글 수: 2
Ali razi
Ali razi 2025년 4월 22일
편집: Ali razi 2025년 4월 22일
Thanks for the reply. I tried it with 2024b but it still does not work.
but in version 2023b it works fine.
Any known modification why it is like that?
NVSL
NVSL 2025년 4월 23일
I tried it on R2024b. It works fine for me. PFA the app with the changes.

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

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

제품


릴리스

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by