Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » resizing views programmatically
resizing views programmatically [message #437028] Tue, 20 September 2005 12:45
Eclipse UserFriend
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
Previous Topic:How do I use custom build.xml in update site?
Next Topic:How to force Eclipse to re-compile all .java files?
Goto Forum:
  


Current Time: Sun Aug 31 07:41:35 EDT 2025

Powered by FUDForum. Page generated in 0.25195 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top