resizing views programmatically [message #437028] |
Tue, 20 September 2005 16:45 |
Ricky Messages: 204 Registered: July 2009 |
Senior Member |
|
|
Hi,
is it possible to set the size of views programmatically or at least let
them have a fixed size? I need to adjust the views to dynamically changing
content.
In my RCP application I define a perspective with 3 (standalone) views.
When the window is resized the size of the views changes too as there size
is definied as percentage of the overall window in
IPerspectiveFactory.createInitialLayout(...). Setting the perspective to
fixed and all views to non movable and non closeable does not prevent the
resize.
Resizing the normal eclipse window preserves the size of views and I
wonder which mechanism is responsible for this. Is there any API or hack
to do this? I am not afraid to use internal calls or tweak the underlying
controls but I simply havent found a place to engage the internals yet.
Regards,
Ricky
|
|
|
Powered by
FUDForum. Page generated in 0.05257 seconds