Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

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

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.

Contact us