No longer able to make SWT dialogs resizable

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

No longer able to make SWT dialogs resizable

Postby Slot Head » Tue Feb 13, 2007 9:14 am

With the latest version of SWT Designer I created a dialog based on the SWT dialog class.

When testing using the "test switch" in the designer, I noticed it was not resizable.

I went back to the Properties window and tried to set resize to true. This change was not accepted. I changed the trim from dialog to shell and then tried again to no avail.

I've grown accustomed to making dialogs resizable. Working with old Microsoft with tortuously tiny, unresizable dialogs now seems unpleasant.

Did I run into a bug?
Slot Head
 
Posts: 36
Joined: Sun Jul 10, 2005 9:50 am

Re: No longer able to make SWT dialogs resizable

Postby Eric Clayberg » Wed Feb 14, 2007 7:50 pm

Slot Head wrote:With the latest version of SWT Designer I created a dialog based on the SWT dialog class. When testing using the "test switch" in the designer, I noticed it was not resizable. I went back to the Properties window and tried to set resize to true. This change was not accepted. I changed the trim from dialog to shell and then tried again to no avail.

Clear the style > modality property and you should be able to set the resize property.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to SWT Designer

Who is online

Users browsing this forum: No registered users and 2 guests