How to change Default Font in App Designer for ALL Components?

26 ビュー (過去 30 日間)
Michael Jarboe
Michael Jarboe 2022 年 8 月 23 日
編集済み: Shivansh 2022 年 10 月 5 日
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?

回答 (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!


Find more on Migrate GUIDE Apps in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!

Translated by