Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How do you alter the initial size of a Dialog?
How do you alter the initial size of a Dialog? [message #444703] Thu, 21 October 2004 01:40 Go to next message
Fred Clewis is currently offline Fred ClewisFriend
Messages: 31
Registered: July 2009
Member
I have subclassed TitleAreaDialog and added controls so that I need more
vertical space. I see how to make it manually resizable, but how do you
make the initial size taller?

thanks,
fred
Re: How do you alter the initial size of a Dialog? [message #444708 is a reply to message #444703] Thu, 21 October 2004 09:34 Go to previous message
Eclipse UserFriend
Originally posted by: dominikg.vr-web.de

you have to override the configureShell(Shell newShell) method in your =

custom dialog.
here you can set the needed size.

protected void configureShell(Shell newShell) {
super.configureShell(newShell);
newShell.setSize(1000, 860);
}

dominik

Am Wed, 20 Oct 2004 21:40:34 -0400 schrieb Fred Clewis =

<clewisf@us.ibm.com>:

> I have subclassed TitleAreaDialog and added controls so that I need mo=
re =

> vertical space. I see how to make it manually resizable, but how do y=
ou =

> make the initial size taller?
>
> thanks,
> fred



-- =

Erstellt mit M2, Operas revolution=E4rem E-Mail-Modul: =

http://www.opera.com/m2/
Previous Topic:hiding selection in SWT table
Next Topic:Outlook RTF
Goto Forum:
  


Current Time: Tue Apr 16 22:56:59 GMT 2024

Powered by FUDForum. Page generated in 3.92700 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top