Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Shell size issue

Indeed. I just tried it on my code. Dummy me I've been wasting 3 extra lines of code for no good reason. Thanks Steve!

> ----- Original Message -----
> From: "Steve Northover" <Steve_Northover@xxxxxxxxxx>
> To: "Eclipse Platform SWT component developers list." <platform-swt-dev@xxxxxxxxxxx>
> Subject: Re: [platform-swt-dev] Shell size issue
> Date: Thu, 7 Sep 2006 11:40:01 -0400
> 
> 
> Doesn't Shell.pack() do what you want?
> 
> 
> 
> 
> <Jeff.Schlaver@xxxxxxxxxxx>
> Sent by: platform-swt-dev-bounces@xxxxxxxxxxx
> 09/07/2006 09:14 AM
> Please respond to
> "Eclipse Platform SWT component developers list."
> <platform-swt-dev@xxxxxxxxxxx>
> 
> 
> To
> <platform-swt-dev@xxxxxxxxxxx>
> cc
> 
> Subject
> [platform-swt-dev] Shell size issue
> 
> 
> 
> 
> 
> 
> Is there some default that is setting the shell size when one does not use
> shell.setSize(x,y). I though the Layout's (Layout and GridData) were used
> to set the size.  I have a shell that is huge and all I'm putting in the
> shell is a 400 x 100 composite.
> 
> My goal is to have the composite determine the size of the shell, and that
> is not happening.
> 
> I use Visual SWT and created a dummy shell with no size the properties say
> that the size is 173x 73 but when I run it on my PC it displays at
> 1024x768.
> What am I missing?
> 
> Thanks Jeff_______________________________________________
> platform-swt-dev mailing list
> platform-swt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
> 
> _______________________________________________
> platform-swt-dev mailing list
> platform-swt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/platform-swt-dev

>



Brian



Back to the top