Change message box font

13 ビュー (過去 30 日間)
Thomas
Thomas 2014 年 11 月 12 日
コメント済み: Adam Danz 2020 年 10 月 29 日
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?

回答 (1 件)

Adam Danz
Adam Danz 2018 年 8 月 10 日
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 件のコメント
THULYO NEDER
THULYO NEDER 2020 年 10 月 29 日
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 2020 年 10 月 29 日
Not that I'm aware of.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by