Path: news.mathworks.com!not-for-mail
From: "per isakson" <poi.nospam@bimDOTkthDOT.se>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Enlarging size of toolbars
Date: Mon, 18 Feb 2008 15:25:03 +0000 (UTC)
Organization: KTH
Lines: 48
Message-ID: <fpc80f$3dh$1@fred.mathworks.com>
References: <31128702.1203057471171.JavaMail.jakarta@nitrogen.mathforum.org> <fp3ho4$g6n$1@fred.mathworks.com> <fpa25d$rbt$1@fred.mathworks.com> <fpa5v9$51o$1@fred.mathworks.com> <fpaus7$pbe$1@fred.mathworks.com>
Reply-To: "per isakson" <poi.nospam@bimDOTkthDOT.se>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1203348303 3505 172.30.248.37 (18 Feb 2008 15:25:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 18 Feb 2008 15:25:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1670
Xref: news.mathworks.com comp.soft-sys.matlab:452128


"Andrea Tagliasacchi" <ata2@nospam.cs.sfu.ca> wrote in 
message <fpaus7$pbe$1@fred.mathworks.com>...
> > Not weird, but the way Matlab is made. Doc says:
> > 
> > "If your CData array is larger than 16 in the first or 
> > second dimension, it may be clipped or cause other 
> > undesirable effects. If the array is clipped, only the 
> > center 16-by-16 part of the array is used."
> > 
> > Some Java might help.
> > 
> > / per
> 
> Hi Per, 
> 
> Yeah, I remember seeing that in the documentation.
> Nevertheless if you check out the link that the previous 
guy
> pointed out:
> 
> 
http://www.mathworks.com/matlabcentral/fileexchange/loadFile
.do?objectId=2384&objectType=file
> 
> you will see that in the snapshots, toolbar size is 
resized
> accordingly to the icons. The weird thing is that when I
> execute that specific application on my machine, on the
> other hand, I get the 16x16 cropping behavior.
> 
> The question is: Why MathWorks put that constraint on size
> of toolbar icons? Is there any way of changing this 
behavior?
> 
> --
> Andrea
> 

There are two versions in the submission. The icon bitmaps 
are 36x36. The icons are cropped with both versions on my 
system, R2007a &WinXP. The code was submitted in 2003 and 
upgraded in 2003. There is an "Editor's Note:" on 
compatibility problems.

With Matlab it happens that "undocumented features" are 
removed in later versions.

/ per