changing font of inputdlg

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 Comments

Sermet - as the start vector just supplies default inputs for your latitude and longitude (the third element seems unnecessary - what should it be corresponding to?) why would you want to change the font? Are you trying to make it bold or italicized or..?
I just want to change default font of the any inputs value of inputdlg. In this example when users type any number in the inputdlg box, they seems very little that's why I want to increase the font. If it's not possible making bold would be enough for now.
You may need to design a custom GUI for that. Or see Kesh Ikuma's File Exchange submission at inputsdlg.
dpb
dpb on 25 Jan 2015
Edited: dpb on 26 Jan 2015
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.

Sign in to comment.

Answers (0)

Categories

Tags

Asked:

on 25 Jan 2015

Edited:

dpb
on 26 Jan 2015

Community Treasure Hunt

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

Start Hunting!