Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsHow do I set initial RCP window size
https://www.eclipse.org/forums/index.php/mv/msg/171405/545114/#msg_545114
The problem I am seeing has to do with the ratio I must supply as argument to the IPageLayout.addView() and IPageLayout.addPlaceHolder() methods which determine the relative size of the views to the editor area.
These ratios appear to only apply to the initial size of the window which in my case is rather small for the screen. When fully maximized, it is leaving these views at the same width or height they had initially (it stretches them only in one dimension). So, I am left with a thin Outline view to the right and a shallow Console view on the bottom when the window gets maximized.
Unless this is a bug, I either need a larger initial window size so these widths/heights are reasonable for the full-size window or I have to pick a very large ratio such that the initial window is unusable.
How do I set the initial window size?]]>Jeff Johnston2010-07-06T16:37:03-00:00Re: How do I set initial RCP window size
https://www.eclipse.org/forums/index.php/mv/msg/171405/545122/#msg_545122
>
> How do I set the initial window size?
Inside ApplicationWorkbenchWindowAdvisor.preWindowOpen(), you can set
the initial window size (400,300) using configurer.setInitialSize(new
Point(400, 300));
Regards,
Madhu
EclipseBible.com]]>Madhu Samuel2010-07-06T17:11:24-00:00Re: How do I set initial RCP window size
https://www.eclipse.org/forums/index.php/mv/msg/171405/545131/#msg_545131
Jeff Johnston2010-07-06T17:54:21-00:00