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

45 visualizzazioni (ultimi 30 giorni)
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?

Risposte (1)

Shivansh
Shivansh il 4 Ott 2022
Modificato: Shivansh il 5 Ott 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!

Categorie

Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange

Prodotti


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by