MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
douglasmhurst
Post subject: SWT/JFace initial window size  PostPosted: Aug 30, 2012 - 02:59 PM
Registered Member
Registered Member


Joined: Sep 30, 2006
Posts: 274

The designer is generating the code below:

When I check the size of MainWindow, using getInitialSize(), it indicates, 380 and 300.

when I test within the designer, the window appears the correct size (attachment 1). But when I run the application, it's much larger (attachment 2).

/**
* Return the initial size of the window.
*/
@Override
protected Point getInitialSize() {
return new Point(380, 300);
}



Actual.jpg
 Description:
Size of window when program run.
 Filesize:  42.52 KB
 Viewed:  1629 Time(s)

Actual.jpg



TestPreview.jpg
 Description:
Size of window (380,300) in test mode
 Filesize:  109.29 KB
 Viewed:  1629 Time(s)

TestPreview.jpg


 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Aug 31, 2012 - 01:38 PM



Joined: Nov 11, 2010
Posts: 2148

douglasmhurst ,

Sorry that you are seeing this issue. I am investigating it at my end.
I will get back to you.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Sep 06, 2012 - 09:41 AM



Joined: Nov 11, 2010
Posts: 2148

douglasmhurst,

Sorry for the delay.I could not replicate the issue at my end on MyEclipse 10.6 version.

1. Can you please copy paste the Installation Details from MyEclipse > Installation Summary > Installation Details ?

2. Can you please attach a minimal project for us to help replicate the issue at our end ?

3. You can also post the issue to Window Builder forum for a detailed support. Here is the link to the forum :
http://www.eclipse.org/forums/index.php/f/214/

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits