Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » TitleAreaDialog resizeable
TitleAreaDialog resizeable [message #437283] Wed, 02 June 2004 12:59 Go to next message
Eclipse UserFriend
Originally posted by: john.rmts.donpac.ru

Hi,

How can I make my TitleAreaDialog resizeable?
Re: TitleAreaDialog resizeable [message #437315 is a reply to message #437283] Thu, 03 June 2004 07:50 Go to previous message
Thomas is currently offline ThomasFriend
Messages: 151
Registered: July 2009
Senior Member
U can try to inherit from TitleAreaDialog and override setShellStyle this
way

/* (non-Javadoc)
* @see org.eclipse.jface.window.Window#setShellStyle(int)
*/
protected void setShellStyle(int newShellStyle) {
// TODO Auto-generated method stub
super.setShellStyle(newShellStyle | SWT.RESIZE | SWT.MAX);
}


"Eugene Prokopiev" <john@rmts.donpac.ru> a
Previous Topic:[JFace] Howto automatic set correct Dialog size?
Next Topic:Action.isEnabled
Goto Forum:
  


Current Time: Thu Mar 28 23:06:07 GMT 2024

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

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

Back to the top