Path: news.mathworks.com!newsfeed-00.mathworks.com!newscon02.news.prodigy.net!prodigy.net!news-feed01.roc.ny.frontiernet.net!nntp.frontiernet.net!news02.roc.ny.POSTED!33b9410e!not-for-mail
From: Doug Schwarz <see@sig.for.address.edu>
Newsgroups: comp.soft-sys.matlab
Subject: Re: fontsize of inputdlg box?
References: <fvtbon$3vh$1@fred.mathworks.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
User-Agent: MT-NewsWatcher/3.5.2 (Intel Mac OS X)
Message-ID: <see-52778E.19443807052008@71-129-133-66.dollamir.com>
Lines: 33
X-Complaints-To: abuse-news@frontiernet.net
X-Trace: 52616e646f6d495657ef544f6079382079a311aa8c061f8fb317e7b4ffeec29d4731ea3515d974beb1afa83b2a07d2c6ab3a0eaad4c66b1808242d0addc03ac806d61f54889e7d52c3a9e14240669b47e190b2969e809644db13241013a5b6f40597494c71ec84d236662283f6caba9ddb14e12418ccc419837eab9e41312ee2
X-Abuse-Info: Please be sure to forward ALL headers so that we may process your complaint properly.
NNTP-Posting-Date: Wed, 07 May 2008 19:44:13 EDT
Date: Wed, 07 May 2008 23:44:13 GMT
Xref: news.mathworks.com comp.soft-sys.matlab:467271


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.