Change message box font
14 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I really dont like the aliased font of msgbox (also dlgbox, etc..) in 2014b. Is it possible to revert it to the old font? How?
0 commentaires
Réponses (1)
Adam Danz
le 10 Août 2018
Here's how to change the font in a msgbox()
mh = msgbox('Hello world', 'Example'); % Create msgbox()
th = findall(mh, 'Type', 'Text'); % Get handle to txt
set(th, 'FontName', 'Courier'); % Change fontsize; or: th.FontName = 'Courier';
2 commentaires
THULYO NEDER
le 29 Oct 2020
Is it possible change the font size of the title as well? I tried to apply the same idea of the script above for the title, but did not work. Any other sugestion?
Voir également
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!