changing font of inputdlg

3 次查看(过去 30 天)
sermet
sermet 2015-1-25
编辑: dpb 2015-1-26
a={'latitude', 'longtitude',};
b='coordinates';
num_lines=1;
start={'0','0','0'};
koordinatlar=inputdlg(a,b,num_lines,start);
%I need to increase the font of start (0,0,0) in inputdlg box.
  4 个评论
Geoff Hayes
Geoff Hayes 2015-1-25
You may need to design a custom GUI for that. Or see Kesh Ikuma's File Exchange submission at inputsdlg.
dpb
dpb 2015-1-25
编辑:dpb 2015-1-26
No can do with the builtin inputdlg; only the prompt string can use LaTeX intepreter and be prettified but no way to change the input fonts.
The inputdlg is a higher-level widget; you can "roll your own" with a uicontrol Edit Text box. With uicontrols there is the facility to set a font name/style, but then you've got to do the wrapper work yourself.
ADDENDUM Seems like a perfectly valid extension/enhancement request, however.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by