Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » fixing intial size of TitleAreaDialog
fixing intial size of TitleAreaDialog [message #450076] Mon, 07 February 2005 19:03 Go to next message
Bhadri Madapusi is currently offline Bhadri MadapusiFriend
Messages: 18
Registered: July 2009
Junior Member
I am a newbie to SWT. I created a subclass of jface.TitleAreaDialog and
overode createDialogArea(Composite). I am trying to set the initial size
using getShell().setSize(new Point(533, 537)). I think this is not working.
The initial size is much larger than my setSize dimensions. Can someone
please let me know how to set the initial size. Thanks in advance.

B.
Re: fixing intial size of TitleAreaDialog [message #450099 is a reply to message #450076] Mon, 07 February 2005 22:26 Go to previous message
Bhadri Madapusi is currently offline Bhadri MadapusiFriend
Messages: 18
Registered: July 2009
Junior Member
I overrode Windows.getInitialSize() and it seems to work. I hope this is the
right approach.

"Bhadri Madapusi" <bomadapusi75@yahoo.com> wrote in message
news:cu8e0c$p55$1@www.eclipse.org...
> I am a newbie to SWT. I created a subclass of jface.TitleAreaDialog and
> overode createDialogArea(Composite). I am trying to set the initial size
> using getShell().setSize(new Point(533, 537)). I think this is not
working.
> The initial size is much larger than my setSize dimensions. Can someone
> please let me know how to set the initial size. Thanks in advance.
>
> B.
>
>
Previous Topic:Weird behaviour of GridLayout
Next Topic:text area over table widget
Goto Forum:
  


Current Time: Fri Apr 26 15:02:15 GMT 2024

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

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

Back to the top