Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How to make the Jface dialog resizable?
How to make the Jface dialog resizable? [message #454299] Tue, 19 April 2005 21:08 Go to next message
Eclipse UserFriend
Originally posted by: jsk_lam.hotmail.com

Hi,

I have a JFace-dialog-derived class, how do I make the dialog resizable
by dragging on the border?

Best Regards,
sl
Re: How to make the Jface dialog resizable? [message #454303 is a reply to message #454299] Tue, 19 April 2005 21:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

In your constructor you should do:

setShellStyle(getShellStyle() | SWT.RESIZE);

If you want the min/max you should

setShellStyle(getShellStyle() | SWT.TRIM);

--
Thanks,
Rich Kulp
Re: How to make the Jface dialog resizable? [message #454304 is a reply to message #454303] Tue, 19 April 2005 21:17 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Opps:
>
> setShellStyle(getShellStyle() | SWT.SHELL_TRIM);
>

--
Thanks,
Rich Kulp
Previous Topic:CTRL+TAB
Next Topic:how to get fewer handles
Goto Forum:
  


Current Time: Fri Mar 05 16:53:03 GMT 2021

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

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

Back to the top