How do I create a scrollable app using appdesigner?

조회 수: 74 (최근 30일)
William Moningka
William Moningka 2021년 2월 7일
댓글: William Moningka 2021년 2월 20일
I'm currently working with appdesigner on MATLAB Version: 9.5.0.1298439 (R2018b) Update 7 (Windows 10 64-bit).
Could anyone advise how to create a scrollable app window that works on all screen sizes?
I have large amount of components (mostly textboxes), trying to create an all in one vehicle dynamics calculator for school project.
I can try to squeeze all the components to be visible under 1 tab on my 24-inch monitor. But when I use a smaller laptop screen, I can't see and access some of the components and I can't seem to resize or scroll the window around.
I have tried to put all components inside a panel and activate scrollable, but doesn't seem to work. Maybe the panel itself is too big for the small screen but if I make the panel smaller, then the components would not fit in, lose their parent-child relations and become invisible.
Anyone has advice, experience or workaround? Thank you.

채택된 답변

Mario Malic
Mario Malic 2021년 2월 7일
편집: Mario Malic 2021년 2월 7일
Hello,
click your main UIFigure component, under Interactivity, find property Scrollable.
  댓글 수: 4
Mario Malic
Mario Malic 2021년 2월 8일
Yes, see the Position property of the UIFigure, you can set it throught component browser.
William Moningka
William Moningka 2021년 2월 20일
I managed to get the app window size to fit different screen resolutions from below answer.
Thanks for your help

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Develop uifigure-Based Apps에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by