필터 지우기
필터 지우기

How do I get the font size to resize on figure resize, using App Designer?

조회 수: 12 (최근 30일)
William
William 2022년 7월 15일
댓글: William 2022년 7월 15일
Hello,
I have been looking all over and can't quite seem to fing my answer.
In GUIDE, you could set a controls units to normalized and font size handling was automatic when the figured got resized. In App Designer there is no such property for the controls. I am using Matlab 2022a on a Win11 machine if that helps.
I am using grid layout so my controls are properly resizing based on figue size. This is for a custom control I am working on if that matters.
Thanks, any help would be appreciated.
Here are some pictures for reference:

답변 (1개)

Rishita
Rishita 2022년 7월 15일
The font size can range from 8–48. The default font size is 10. When selected, App Designer flags coding problems in the editor as you write code. You can change the background color of the uneditable code sections in App Designer Code View.
  댓글 수: 1
William
William 2022년 7월 15일
I undestand that I can change the font size of the controls, I want the font size to automatically change as the GUI resizes like how it does in a GUIDE app when units are set to normailized.
I'm not sure how the rest of your anser pertains to my question. Could you clarify?
Thanks.

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

카테고리

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

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by