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

45 visualizaciones (últimos 30 días)
Michael Jarboe
Michael Jarboe el 23 de Ag. de 2022
Editada: Shivansh el 5 de Oct. de 2022
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?

Respuestas (1)

Shivansh
Shivansh el 4 de Oct. de 2022
Editada: Shivansh el 5 de Oct. de 2022
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!

Categorías

Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by