[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Perspective ratios

Hello all,

I got an annoying trouble with perspectives. The problem is simple, as the solution might be.
Here it is :
- I got one perspective which is the "initialWindowPerspective"
- I got one method which can close (through closeAllPerspectives) and show this one same perspective.
- When I start my app for the first time, or when the perspective is reset, the ratios seems not to correspond to the ones I specified.
- When I perform the close / show action, it looks OK


Why have I got 2 different appearances of the same perspective ? How can I make this perspective to always look the same ? Since a perspective references ratios from the editor area, is there something to define to set the initial editor area size or something like that?

I joined 2 images of the same perspective displayed by a perspective reset and by a perspective close / show for you to see the difference.

If you have any idea...
Christophe.

Attachment: showPerspective.png
Description: PNG image

Attachment: resetPerpective.png
Description: PNG image