Thread Subject: full screen gui figure in GUIDE

Subject: full screen gui figure in GUIDE

From: Daphne

Date: 24 May, 2008 07:44:01

Message: 1 of 5


Hi,

I'm trying to buid a bui in GUIDE that will take up the
entire size of the screen (effectively 1024x768). I really
need the space to place a lot of functions in there, and
want to prevent resizing later.
Whenever I try to resize the gui itself, it just moves it
lower in the screen and makes the bottom part invisible.

Is there any way to make the gui backdrop screen-sized and
place it mid screen, while I am still building it?
Having the user maximize the gui will not do the trick.

Thanks!
Daphne

Subject: full screen gui figure in GUIDE

From: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)

Date: 24 May, 2008 09:33:48

Message: 2 of 5

In article <g18h01$hpj$1@fred.mathworks.com>,
Daphne <daphnew_too_nospam@yahoo.com> wrote:

>I'm trying to buid a bui in GUIDE that will take up the
>entire size of the screen (effectively 1024x768). I really
>need the space to place a lot of functions in there, and
>want to prevent resizing later.
>Whenever I try to resize the gui itself, it just moves it
>lower in the screen and makes the bottom part invisible.

GUIDE is written to deliberately resize and move your GUI as one
of the last things it does. You are not intended to be able to
create full-screen GUIs in GUIDE.

For a brief further discussion, see,

http://groups.google.ca/group/comp.soft-sys.matlab/msg/c0fc6a5b5f13a22a
--
  "The human mind is so strangely capricious, that, when freed from
  the pressure of real misery, it becomes open and sensitive to the
  ideal apprehension of ideal calamities." -- Sir Walter Scott

Subject: full screen gui figure in GUIDE

From: matt dash

Date: 24 May, 2008 21:25:04

Message: 3 of 5

"Daphne " <daphnew_too_nospam@yahoo.com> wrote in message
<g18h01$hpj$1@fred.mathworks.com>...
>
> Hi,
>
> I'm trying to buid a bui in GUIDE that will take up the
> entire size of the screen (effectively 1024x768). I really
> need the space to place a lot of functions in there, and
> want to prevent resizing later.
> Whenever I try to resize the gui itself, it just moves it
> lower in the screen and makes the bottom part invisible.
>
> Is there any way to make the gui backdrop screen-sized and
> place it mid screen, while I am still building it?
> Having the user maximize the gui will not do the trick.
>
> Thanks!
> Daphne


You can override the default guide layout function by
setting your own layout function. Somewhere there was a
thread describing this, but I can't find it. But all you
really need to do is make a layout function that just opens
the .fig file that goes with your m-file.... this will stop
the annoying resizing. A related example is here:

http://www.mathworks.com/matlabcentral/newsreader/view_thread/161654#408756




Subject: full screen gui figure in GUIDE

From: Daphne

Date: 25 May, 2008 05:24:01

Message: 4 of 5


Thanks for the help.

I have tried the fix here:
http://groups.google.ca/group/comp.soft-
sys.matlab/browse_thread/thread/595b240f5d02ad1f/457d00962b
3e80b8

but although I have 2006b, all it does is make the figure
larger and still keeps the 30pix offset.
Any ideas?

Thanks!
Daphne


"matt dash" <n.a@mail.com> wrote in message
<g1a13g$8ue$1@fred.mathworks.com>...
> "Daphne " <daphnew_too_nospam@yahoo.com> wrote in message
> <g18h01$hpj$1@fred.mathworks.com>...
> >
> > Hi,
> >
> > I'm trying to buid a bui in GUIDE that will take up
the
> > entire size of the screen (effectively 1024x768). I
really
> > need the space to place a lot of functions in there,
and
> > want to prevent resizing later.
> > Whenever I try to resize the gui itself, it just moves
it
> > lower in the screen and makes the bottom part
invisible.
> >
> > Is there any way to make the gui backdrop screen-sized
and
> > place it mid screen, while I am still building it?
> > Having the user maximize the gui will not do the
trick.
> >
> > Thanks!
> > Daphne
>
>
> You can override the default guide layout function by
> setting your own layout function. Somewhere there was a
> thread describing this, but I can't find it. But all you
> really need to do is make a layout function that just
opens
> the .fig file that goes with your m-file.... this will
stop
> the annoying resizing. A related example is here:
>
>
http://www.mathworks.com/matlabcentral/newsreader/view_thre
ad/161654#408756
>
>
>
>

Subject: full screen gui figure in GUIDE

From: Titus

Date: 26 May, 2008 11:32:35

Message: 5 of 5


"Daphne " <daphnew_too_nospam@yahoo.com> schrieb im Newsbeitrag
news:g1at5h$n70$1@fred.mathworks.com...
>
> Thanks for the help.
>
> I have tried the fix here:
> http://groups.google.ca/group/comp.soft-
> sys.matlab/browse_thread/thread/595b240f5d02ad1f/457d00962b
> 3e80b8
>
> but although I have 2006b, all it does is make the figure
> larger and still keeps the 30pix offset.
> Any ideas?
>
> Thanks!
> Daphne
>
>
> "matt dash" <n.a@mail.com> wrote in message
> <g1a13g$8ue$1@fred.mathworks.com>...
>> "Daphne " <daphnew_too_nospam@yahoo.com> wrote in message
>> <g18h01$hpj$1@fred.mathworks.com>...
>> >
>> > Hi,
>> >
>> > I'm trying to buid a bui in GUIDE that will take up
> the
>> > entire size of the screen (effectively 1024x768). I
> really
>> > need the space to place a lot of functions in there,
> and
>> > want to prevent resizing later.
>> > Whenever I try to resize the gui itself, it just moves
> it
>> > lower in the screen and makes the bottom part
> invisible.
>> >
>> > Is there any way to make the gui backdrop screen-sized
> and
>> > place it mid screen, while I am still building it?
>> > Having the user maximize the gui will not do the
> trick.
>> >
>> > Thanks!
>> > Daphne
>>
>>
>> You can override the default guide layout function by
>> setting your own layout function. Somewhere there was a
>> thread describing this, but I can't find it. But all you
>> really need to do is make a layout function that just
> opens
>> the .fig file that goes with your m-file.... this will
> stop
>> the annoying resizing. A related example is here:
>>
>>
> http://www.mathworks.com/matlabcentral/newsreader/view_thre
> ad/161654#408756
>>
>>
>>
>>
>

Hi Daphne,
one simple solution is to put a movegui.m into the directory of your GUI,
which just does nothing (instead of the 30 pix offset the original movegui
does), something like

function movegui(varargin)


Titus


Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
guide Daphne 24 May, 2008 03:45:14
figure size Daphne 24 May, 2008 03:45:14
gui Daphne 24 May, 2008 03:45:13
rssFeed for this Thread

Public Submission Policy

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.

Contact us at files@mathworks.com