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 14:03 Go to next message
Bhadri Madapusi is currently offline Bhadri Madapusi
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 17:26 Go to previous message
Bhadri Madapusi is currently offline Bhadri Madapusi
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 Jul 25 09:42:23 EDT 2014

Powered by FUDForum. Page generated in 0.01874 seconds