Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Set initial size to SelectionDialog
Set initial size to SelectionDialog [message #248580] Thu, 23 April 2009 14:45 Go to next message
Liat  is currently offline Liat Friend
Messages: 3
Registered: July 2009
Junior Member
Hi,

I'm using org.eclipse.ui.dialogs.SelectionDialog.
How can I set the initial size of the dialog window?
Each time the dialog window opens it's size returns to the "minimize" size.

Thanks in advance,
Liat
Re: Set initial size to SelectionDialog [message #248585 is a reply to message #248580] Thu, 23 April 2009 16:59 Go to previous messageGo to next message
Oleg Vazhnev is currently offline Oleg VazhnevFriend
Messages: 42
Registered: July 2009
Member
Hi Liat

Try to override configureShell.

protected void configureShell(Shell shell) {
shell.setBounds(x, y, width, height);
}

Thanks,
Oleg

Liat wrote:
> Hi,
> I'm using org.eclipse.ui.dialogs.SelectionDialog. How can I set the
> initial size of the dialog window?
> Each time the dialog window opens it's size returns to the "minimize" size.
>
> Thanks in advance, Liat
>
Re: Set initial size to SelectionDialog [message #248657 is a reply to message #248585] Sun, 26 April 2009 08:02 Go to previous message
Liat  is currently offline Liat Friend
Messages: 3
Registered: July 2009
Junior Member
Thank you Oleg,

Your help has been very useful

Liat.
Previous Topic:editor as dragsource
Next Topic:GEF DND support
Goto Forum:
  


Current Time: Fri Apr 26 15:04:55 GMT 2024

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

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

Back to the top