Change message box font

17 Ansichten (letzte 30 Tage)
Thomas
Thomas am 12 Nov. 2014
Kommentiert: Adam Danz am 29 Okt. 2020
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?

Antworten (1)

Adam Danz
Adam Danz am 10 Aug. 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 Kommentare
THULYO NEDER
THULYO NEDER am 29 Okt. 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?
Adam Danz
Adam Danz am 29 Okt. 2020
Not that I'm aware of.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by