Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » resizing views programmatically
resizing views programmatically [message #437028] Tue, 20 September 2005 16:45
Ricky is currently offline RickyFriend
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
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 Dec 08 23:08:17 GMT 2024

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

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

Back to the top