Default form size

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

Default form size

Postby adoran » Fri Aug 01, 2003 6:45 am

First off, what a great plugin!

Is it possible to set the default form size for an application using the designer?

Thanks
adoran
 
Posts: 3
Joined: Fri Aug 01, 2003 6:42 am

Postby admin » Mon Aug 04, 2003 1:14 am

Done.
You will see this feature in next build.
admin
Moderator
 
Posts: 166
Joined: Thu Jul 24, 2003 12:25 am

Postby adoran » Tue Sep 23, 2003 5:05 am

where is this setting located to change form size?
adoran
 
Posts: 3
Joined: Fri Aug 01, 2003 6:42 am

Postby admin » Tue Sep 23, 2003 11:39 pm

See screenshot:
Image
admin
Moderator
 
Posts: 166
Joined: Thu Jul 24, 2003 12:25 am

Postby adoran » Wed Sep 24, 2003 7:49 am

thanks, I found that right after posting. However, I dont have the options for 'Allow direct edit','Allow double click for selection listener','Show text in control tree'. And after I select a default form size and run the application, the form seems to ignore this default setting (source doesn't change either). I am using build 1.1.2 of the plugin.
adoran
 
Posts: 3
Joined: Fri Aug 01, 2003 6:42 am

Postby admin » Wed Sep 24, 2003 9:01 pm

Yes, we continue work on designer, and I made screenshot from new version. It will change at least one more time before publishing new version. :-)

Default form size is option for Designer, not for source. When you resize form in Designer, it saves size, so when you will open same source next time, you will see your form with same size as you make it last time. When you open some form in Designer first time, it will use default size from preferences.

If you want to set size for SWT applications, just call shell.setSize() with needed arguments.
admin
Moderator
 
Posts: 166
Joined: Thu Jul 24, 2003 12:25 am


Return to SWT Designer

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 1 guest