필터 지우기
필터 지우기

How can I set the default Font for app designer?

조회 수: 5 (최근 30일)
Josh Zagorski
Josh Zagorski 2020년 3월 10일
답변: Parth Saraf 2023년 6월 22일
We have a company font that I would like to use, it's already in the system. What's the best way to mark all components in app designer with this font? Or use when I add new components?
  댓글 수: 1
Frank
Frank 2023년 6월 22일
Josh, I have a very similar question which has not yet received any answers or comments. It is at
In my case, I want to install a new custom font and use it in apps. It is either a quirky problem or I am misunderstanding something. So far I have not got an answer...

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

답변 (1개)

Parth Saraf
Parth Saraf 2023년 6월 22일
Hi Josh,
You can try using this lines of code:
defaultFontName = 'Helvetica';
defaultFontSize = 12;
root = matlab.ui.RootProperties;
root.DefaultUicontrolFontName = defaultFontName;
root.DefaultUicontrolFontSize = defaultFontSize;
matlab.ui.RootProperties = root;
Hope this helps!

카테고리

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

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by