|How do I set initial RCP window size [message #545114]
||Tue, 06 July 2010 12:37
| Jeff Johnston
Registered: July 2009
I have an RCP editor app. In the createInitialLayout() method of my perspective, I am adding the Outline view to the right and putting in a place holder for a Console view on the bottom. I use the ID_EDITOR_AREA for the refid in both cases.|
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?
Powered by FUDForum
. Page generated in 0.01456 seconds