How to change Default Font in App Designer for ALL Components?
조회 수: 24 (최근 30일)
이전 댓글 표시
In App Designer, when you drag a drop any component from the Component Library the default FontName is Helvetica, FontSize is 12. Personaly I am not a big fan of Helvetica so I change it Calibri manually for every component. Is there a way to change this default FontName?
Clicking Preferences --> App Designer --> you can change the 'Editor' Font, but not the Componets...
Also I cannot find a way to change the FontName for the Tab Group component... is it possible to change Font Name for this component?
댓글 수: 0
답변 (1개)
Shivansh
2022년 10월 4일
편집: Shivansh
2022년 10월 5일
Presently there is no way to change the default font style of all the components in app designer. But I have passed this issue to the teams concerned, they might consider this for future releases.
Regarding the query of changing the font style of tab group component. I was unable to find the user interface to change the font style.
But I was able to accomplish this by changing the font style from the code view.
For example, I added the line
app.TabGroup.FontName='Roboto Black'
In the startup function of the app to change the font style to “Roboto black”. (Line 17 in screenshot attached below)
Then I was successfully able to convert font style to Roboto black after running the code.
Hope this helps!
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!