facebook

SWT/JFace initial window size

  1. MyEclipse Archived
  2.  > 
  3. Matisse/Swing UI Development
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #329689 Reply

    Douglas M Hurst
    Participant

    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);
    }

    Attachments:
    You must be logged in to view attached files.
    #329727 Reply

    support-swapna
    Moderator

    douglasmhurst ,

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

    #329892 Reply

    support-swapna
    Moderator

    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/

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: SWT/JFace initial window size

You must be logged in to post in the forum log in