Issue with scrolling a GUI in App Designer
古いコメントを表示
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 件のコメント
Walter Roberson
2025 年 4 月 15 日
Sorry, the writing on the properties section is too small to read. Please post the properties section as a seperate image.
Voss
2025 年 4 月 17 日
Is app.GridLayout's 'Scrollable' property set to 'on'?
Ali razi
2025 年 4 月 18 日
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
2025 年 4 月 19 日
回答 (1 件)
NVSL
2025 年 4 月 22 日
0 投票
Hi @Ali razi
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 件のコメント
NVSL
2025 年 4 月 23 日
I tried it on R2024b. It works fine for me. PFA the app with the changes.
カテゴリ
ヘルプ センター および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!