Path: news.mathworks.com!not-for-mail
From: "jay vaughan" <jvaughan5.nospam@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: fontsize of inputdlg box?
Date: Thu, 8 May 2008 04:34:03 +0000 (UTC)
Organization: harvard
Lines: 48
Message-ID: <fvtvrr$i4$1@fred.mathworks.com>
References: <fvtbon$3vh$1@fred.mathworks.com> <see-52778E.19443807052008@71-129-133-66.dollamir.com>
Reply-To: "jay vaughan" <jvaughan5.nospam@gmail.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1210221243 580 172.30.248.35 (8 May 2008 04:34:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 8 May 2008 04:34:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1215048
Xref: news.mathworks.com comp.soft-sys.matlab:467295


Doug,

thanks for the reply. That is helpful!


J

Doug Schwarz <see@sig.for.address.edu> wrote in message
<see-52778E.19443807052008@71-129-133-66.dollamir.com>...
> In article <fvtbon$3vh$1@fred.mathworks.com>,
>  "jay vaughan" <jvaughan5.nospam@gmail.com> wrote:
> 
> > Hi,
> > 
> > Anyone know how to change the fontsize of an inputdlg box? 
> > 
> > answer = inputdlg('default font too small for my old
eyes!');
> > 
> > Reading the help file, I saw there is the possibility of
> > entering some options, such as options.WindowStyle='normal',
> > but couldn't find one for fontsize.
> > 
> > Thanks,
> > J
> 
> If you look in the m-file, you'll see a line like this:
> 
> TextInfo.FontSize           =
get(0,'FactoryUIControlFontSize');
> 
> which means that the font size is set to the factory
default for 
> uicontrols.  You can't change that, but you can chance
that line in the 
> m-file:
> 
> TextInfo.FontSize           = 14;
> 
> I'm not sure if MATLAB will see that change unless you
clear the toolbox 
> cache.  Try "clear inputdlg" or "clear functions".
> 
> -- 
> Doug Schwarz
> dmschwarz&ieee,org
> Make obvious changes to get real email address.