Path: news.mathworks.com!not-for-mail
From: "Bruno Luong" <brunoluong@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: set GUI Position
Date: Sun, 18 Nov 2007 21:37:34 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 13
Message-ID: <fhqbau$bej$1@fred.mathworks.com>
References: <fhq62a$4tb$1@fred.mathworks.com>
Reply-To: "Bruno Luong" <brunoluong@yahoo.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 1195421854 11731 172.30.248.35 (18 Nov 2007 21:37:34 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 18 Nov 2007 21:37:34 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1184112
Xref: news.mathworks.com comp.soft-sys.matlab:438246



"Lars Warmbold" <mustermann.klaus.TO.REMOVE@gmx.de> wrote in
message <fhq62a$4tb$1@fred.mathworks.com>...

It seems that after calling OpeningFcn,
gui_mainfcn calls
openfig calls 
movegui(fig, 'onscreen'), which add a margin of 30 pixels.

If you are willing to mess around with MATLAB source, you
could edit the file movegui.m (on $MATLAB/toolbox/uitools/
), and change the variable margin to 0 (or -1).

Bruno